nushell/docs/commands/skip_until.md

344 B

title layout version
skip until command 0.59.1

Skip elements of the input until a predicate is true.

Signature

> skip until (predicate)

Parameters

  • predicate: the predicate that skipped element must not match

Examples

Skip until the element is positive

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