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