Spec-Zone.ru › Nushell

continue for core

Continue a loop from the next iteration.

Signature

> continue {flags}

Input/output types:

input output
nothing nothing

Examples

Continue a loop from the next iteration.

> for i in 1..10 { if $i == 5 { continue }; print $i }

Notes

This command is a parser keyword. For details, check: https://www.nushell.sh/book/thinking_in_nu.html

continue can only be used in while, loop, and for loops. It can not be used with each or other filter commands

Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/continue.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API