mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 08:59:12 +01:00
8c0a2d3c15
* Finish updating * a couple improvements * Update renames * cleanup examples
342 B
342 B
title | layout | version |
---|---|---|
keep while | command | 0.59.0 |
Keep elements of the input while a predicate is true.
Signature
> keep while (predicate)
Parameters
predicate
: the predicate that kept element must not match
Examples
Keep while the element is negative
> echo [-1 -2 9 1] | keep while $it < 0