Bars Specification 0.1.0 — Transform: last¶
Category: list · Since: 0.1.0
Last element of a list, or last character of a string.
Returns the last element of a list, or the last character of a string. A list whose shape does not match this expectation, or an unsupported input kind, yields null (a soft failure).
Arguments¶
None.
Arity: 0–0
Worked examples¶
→
→
Full fixture: transforms/transform-last.json