if

perform action, if given condition is not false or null


Parameters

if condition :any
   action :block :bytecode

Returns

  • :nothing

Examples

copy
x: 2 if x=2 -> print "yes, that's right!" ; yes, that's right!

Related