/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
const l={point:l=>"point"===l.type?l:"polygon"===l.type||"polyline"===l.type?l.extent?.center??null:null,polygon:l=>"polygon"===l.type?l:null,polyline:l=>"polyline"===l.type?l:null};export{l as default};
