nushell/docs/commands/keep_until.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

341 B

title layout version
keep until command 0.59.0

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