Document arrays, objects, ...
This commit is contained in:
1 parent
68f41097b9
commit
1a1adf73e8
1 file changed
+13
@@ -647,6 +647,19 @@ sections:
|
||||
input: '[1,5,3,0,7]'
|
||||
output: ['[5,3,7]']
|
||||
|
||||
|
||||
- title: `arrays`, `objects`, `iterables`, `booleans`, `numbers`, `strings`, `nulls`, `values`
|
||||
body: |
|
||||
|
||||
These built-ins select only inputs that are arrays, objects,
|
||||
iterables (arrays or objects), booleans, numbers, strings,
|
||||
null, and any non-null values, respectively.
|
||||
|
||||
examples:
|
||||
- program: '.[]|numbers'
|
||||
input: '[[],{},1,"foo",null,true,false]'
|
||||
output: ['1']
|
||||
|
||||
- title: `empty`
|
||||
body: |
|
||||
|
||||
|
||||
Reference in new issue
Block a user