Skip to main content
Version: 1.0.0

While

Is a keyword that repeatedly performs one or a group of actions under a condition until the condition is false

Platform​

Web, Android, iOS, Windows, JavaSwing, Api, JDBC

Properties​

PropertiesData SourceRecommended
Logical expressions (operators) are a condition (or a group of conditions) that determine the number of times the loop is executed based on the condition checked before each iteration--

Use cases​

Use when you need to perform actions repeatedly under a condition until the initial condition is false.

Use in combination with Break or until the initial condition is no longer true to exit the loop