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