/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{isSome as r}from"../../../core/arrayUtils.js";import e from"../../../core/Collection.js";import{isGraphic as t}from"../../../support/guards.js";function o(o){if(!o)return[];let i=t(o)?[o]:e.isCollection(o)?o.toArray():Array.isArray(o)?o:[];return i=i?.filter(r),0===(i?.length??0)?[]:i}function i(r){return!!(r&&"object"==typeof r&&"pixelRanges"in r&&r.pixelRanges)}function n(r){return Array.isArray(r.pixelRanges)&&0===r.pixelRanges.length}export{o as getHighlightGraphics,n as isEmptyPixelRanges,i as isPixelHighlightTarget};
