unique
Syntax
unique(array)<array>.unique()Arguments
Examples
unique([1, 2, 2, 3, 1])
// [1, 2, 3]["a", "b", "a", "c", "b"].unique()
// ["a", "b", "c"]$ echo '{"tags": ["go", "cli", "go", "json", "cli"]}' | dasel -i json 'tags.unique()'
[
"go",
"cli",
"json"
]Last updated