last
Syntax
last(array)<array>.last()Arguments
Examples
last([1, 2, 3])
// 3["a", "b", "c"].last()
// "c"last([])
// nullLast updated
$ echo '{"logs": ["started", "running", "stopped"]}' | dasel -i json 'logs.last()'
stopped