define(["require","exports","../../Validation"],function(e,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var u=(i.prototype.addValuesToArray=function(e,a){"number"==typeof e?a.push(e):a.push.apply(a,e)},i.prototype.execute=function(e){t.validation.exists("value1",e.value1);var a=[];return this.addValuesToArray(e.value1,a),null!==e.value2&&void 0!==e.value2&&this.addValuesToArray(e.value2,a),{result:Math.min.apply(Math,a)}},i.action="gcx:wf:math::Min",i.suite="gcx:wf:builtin",i);function i(){}a.Min=u});