mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 01:07:48 +02:00
Auto-generate markdown command docs (#4451)
* Finish updating * a couple improvements * Update renames * cleanup examples
This commit is contained in:
23
docs/commands/skip_while.md
Normal file
23
docs/commands/skip_while.md
Normal file
@ -0,0 +1,23 @@
|
||||
---
|
||||
title: skip while
|
||||
layout: command
|
||||
version: 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
|
||||
```shell
|
||||
> echo [-2 0 2 -1] | skip while $it < 0
|
||||
```
|
||||
|
Reference in New Issue
Block a user