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

340 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