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

First

First expect no arguments.

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

Example

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

Last updated