Skip to main content
Version: v0.20.0

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")
end

// which prints
is a string