Return the in-order exterior values of the tree as a flat array. This is a deep version of the values built-in function.
$ cat greetings.yaml
english:
a: Hello, a.
b: Hello, b.
c: Hello, c.
french:
a: Bonjour, a.
b: Bonjour, b.
c: Bonjour, c.
spanish:
a: Hola, a.
b: Hola, b.
c: Hola, c.
$ ori deepValues greetings.yaml
- Hello, a.
- Hello, b.
- Hello, c.
- Bonjour, a.
- Bonjour, b.
- Bonjour, c.
- Hola, a.
- Hola, b.
- Hola, c.
Input treeResult
If you want to limit the number of results, see deepTake.