/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{isSome as r}from"../../../core/arrayUtils.js";import e from"../../../core/Collection.js";import{isGraphic as t}from"../../../support/graphicInstanceUtils.js";function i(i){if(!i)return[];let n=t(i)?[i]:e.isCollection(i)?i.toArray():Array.isArray(i)?i:[];return n=n?.filter(r),0===(n?.length??0)?[]:n}function n(r){return!!(r&&"object"==typeof r&&"pixelRanges"in r&&r.pixelRanges)}function o(r){return Array.isArray(r.pixelRanges)&&0===r.pixelRanges.length}export{i as getHighlightGraphics,o as isEmptyPixelRanges,n as isPixelHighlightTarget};
