Skip to content
Myr

Document `scalars`

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Nicolas Williams · committed by Nicolas Williams · parent 831be04 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/content/3.manual/manual.yml+2 added-2 removed
646 unmodified lines
647 input: '[1,5,3,0,7]'648 output: ['[5,3,7]']649650651 - title: `arrays`, `objects`, `iterables`, `booleans`, `numbers`, `strings`, `nulls`, `values`651 - title: `arrays`, `objects`, `iterables`, `booleans`, `numbers`, `strings`, `nulls`, `values`, `scalars`652 body: |653 654 These built-ins select only inputs that are arrays, objects,655 iterables (arrays or objects), booleans, numbers, strings,656 null, and any non-null values, respectively.656 null, non-null values, and non-iterables, respectively.657658 examples:659 - program: '.[]|numbers'660 input: '[[],{},1,"foo",null,true,false]'
926 unmodified lines