W3cubDocs

/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

>foriin1..10 { if$i==5 { continue };print$i}

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