@values([treelike])

Returns an array of the top-level values in the tree.

$ cat letters.yaml
a: The letter A
b: The letter B
c: The letter C
$ ori @values letters.yaml
- The letter A
- The letter B
- The letter C
g a The letter A ->a a b The letter B ->b b c The letter C ->c c
g 0 The letter A ->0 0 1 The letter B ->1 1 2 The letter C ->2 2
Input tree with string keys
Values as an array

See also @keys.