nushell/docs/commands/skip_while.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

341 B

title layout version
skip while command 0.59.0

Skip elements of the input while a predicate is true.

Signature

> skip while (predicate)

Parameters

  • predicate: the predicate that skipped element must match

Examples

Skip while the element is negative

> echo [-2 0 2 -1] | skip while $it < 0