nushell/docs/commands/keep_until.md
JT 8c0a2d3c15
Auto-generate markdown command docs (#4451)
* Finish updating

* a couple improvements

* Update renames

* cleanup examples
2022-02-13 21:22:51 -05:00

24 lines
342 B
Markdown

---
title: keep until
layout: command
version: 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
```shell
> echo [-1 -2 9 1] | keep until $it > 0
```