unless

perform action, if given condition is false or null


Parameters

unless condition :any
       action :block :bytecode

Returns

  • :nothing

Examples

copy
x: 2 unless x=1 -> print "yep, x is not 1!" ; yep, x is not 1!

Related