If

With if and else keywords the flow of a program can be controlled.

🚀 > if (a.type() == "STRING") {
  puts("is a string")
} else {
  puts("is not a string")
}

// which prints
is a string

Edit this page on GitHub