Module: Trxl::IsEmptyFunction1

Defined in:
lib/trxl/trxl_grammar.rb

Instance Method Summary collapse

Instance Method Details

#eval(env = Environment.new) ⇒ Object



6902
6903
6904
6905
# File 'lib/trxl/trxl_grammar.rb', line 6902

def eval(env = Environment.new)
  arr = expression.eval(env)
  arr.empty?
end