mirror of
https://github.com/nushell/nushell.git
synced 2024-11-27 02:44:01 +01:00
341 B
341 B
title | layout | version |
---|---|---|
keep until | command | 0.59.1 |
Keep elements of the input until a predicate is true.
Signature
> keep until (predicate)
Parameters
predicate
: the predicate that kept element must not match
Examples
Keep until the element is positive
> echo [-1 -2 9 1] | keep until $it > 0