From 1a1adf73e8407e4494aa4c37808e32f3b156d335 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Thu, 13 Mar 2014 00:19:55 -0500 Subject: [PATCH] Document `arrays`, `objects`, ... --- docs/content/3.manual/manual.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index b30ba6c4..d681d093 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -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: |