import{validation}from"../../Validation.js";class RemoveItem{execute(e){const t=validation.array("collection",e.collection,validation.never);e=e.item;let o=!1;e=t.indexOf(e);return-1<e&&(t.splice(e,1),o=!0),{removed:o}}}RemoveItem.action="gcx:wf:core::RemoveItem",RemoveItem.suite="gcx:wf:builtin";export{RemoveItem};