For the complete documentation index, see llms.txt. This page is also available as Markdown.

Last

Last expect no arguments.

It can be used with a list, and returns the last item in the list.

Example

$ echo '["a","b","c"]' | dasel -r json 'last()'
"c"

Last updated