import{validation}from"../../Validation.js";import{featuresToArray}from"./tools.js";class GetFeatureGeometry{execute(e,t){e=featuresToArray(validation.exists("features",e.features))[validation.number("index",e.index,0)];return{geometry:void 0!==e?e.geometry:void 0}}}GetFeatureGeometry.action="gcx:wf:arcgis::GetFeatureGeometry",GetFeatureGeometry.suite="gcx:wf:builtin";export{GetFeatureGeometry};