Remove reference to getpath from docs
This commit is contained in:
1 parent
c10e5f4e73
commit
9af03c2562
1 file changed
-4
@@ -725,10 +725,6 @@ sections:
|
||||
Outputs the paths to all the leaves (non-array, non-object
|
||||
elements) in its input.
|
||||
|
||||
`leaf_paths` is equivalent to
|
||||
|
||||
def leaf_paths: . as $dot|paths|select(. as $p|$dot|getpath($p)|type|. != "array" and . != "object");
|
||||
|
||||
examples:
|
||||
- program: '[leaf_paths]'
|
||||
input: '[1,[[],{"a":2}]]'
|
||||
|
||||
Reference in new issue
Block a user