/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{nativeArrayMaxSize as r}from"../../core/typedArrayUtil.js";function t(t){return Array.isArray(t)?t.length<r?t:new Uint16Array(t):t.length<r?Array.from(t):t}export{t as compactUShortArray};
