import{validation}from"../../Validation.js";class Min{addValuesToArray(a,i){"number"==typeof a?i.push(a):i.push(...a)}execute(a){validation.exists("value1",a.value1);var i=[];return this.addValuesToArray(a.value1,i),null!==a.value2&&void 0!==a.value2&&this.addValuesToArray(a.value2,i),{result:Math.min(...i)}}}Min.action="gcx:wf:math::Min",Min.suite="gcx:wf:builtin";export{Min};