define(["require","exports","../../Validation","./tools"],function(e,t,a,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=(r.prototype.execute=function(e,t){var i=a.validation.string("attribute",e.attribute,a.validation.never),r=n.featuresToArray(a.validation.exists("features",e.features))[a.validation.number("index",e.index,0)],u={feature:void 0,value:void 0};if(null==r)return u;e=r.attributes;if(null==e)return u;u.feature=r;i=e[i];return u.value=null!==i?i:void 0,u},r.action="gcx:wf:arcgis::GetAttributeValue",r.suite="gcx:wf:builtin",r);function r(){}t.GetAttributeValue=i});