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
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