import{validation}from"../../Validation.js";class GetLastItem{execute(t){t=validation.array("collection",t.collection,validation.never);return{item:t[t.length-1]}}}GetLastItem.action="gcx:wf:core::GetLastItem",GetLastItem.suite="gcx:wf:builtin";export{GetLastItem};