Try Install Learn Blog API Packages GitHub
Pages

Control Expressions

In Mint, control structures are expressions that return a value, so they are called control expressions.

Here are the control expressions:

  • if...else - basic, 2 way conditional expression
  • case - extended, N-way conditional expression
  • for...of - iteration over Array(a) Set(a) and Map(a,b)
  • next - locally modifies state variables