mirror of
https://github.com/gorules/zen.git
synced 2026-11-29 00:07:37 +00:00
take, takeLast, find, findLast, findIndex, findLastIndex (-1 when none),
sort and sortBy ('asc' or 'desc', stable, nulls last) and isEmpty. find,
findIndex and sortBy take a callback with # or a name given with 'as'.
items[-1] is the last item, as documented, on the stack VM and the lane
VM (a string counts from its end too); a negative index past the start is
null. The spec rows that recorded the bug, the policy spec case and its
golden now expect the value.