Merge pull request #303 from ryanbraganza/patch-1
Fix >= example # [1,2,3]
This commit is contained in:
commit
b511ac38db
1 file changed
+1
-1
+1
-1
@@ -1436,7 +1436,7 @@ map(foo) | from_entries</code>, useful for doing some operation to all keys and
|
|||||||
</h3>
|
</h3>
|
||||||
<p>The function <code>select(foo)</code> produces its input unchanged if <code>foo</code> returns true for that input, and produces no output otherwise.</p>
|
<p>The function <code>select(foo)</code> produces its input unchanged if <code>foo</code> returns true for that input, and produces no output otherwise.</p>
|
||||||
|
|
||||||
<p>It’s useful for filtering lists: <code>[1,2,3] | map(select(. >= 2))</code> will give you <code>[3]</code>.</p>
|
<p>It’s useful for filtering lists: <code>[1,2,3] | map(select(. >= 2))</code> will give you <code>[2,3]</code>.</p>
|
||||||
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in new issue
Block a user