Document arrays, objects, ...

This commit is contained in:
Nicolas Williams committed 2014-03-13 00:29:53 -05:00
1 parent 68f41097b9
commit 1a1adf73e8
1 file changed
+13
+13
View File
@@ -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: |