1 module orelang.operator.TypeOperator;
2 import orelang.operator.IOperator,
3        orelang.Engine,
4        orelang.Value;
5 
6 class TypeOperator : IOperator {
7   /**
8    * call
9    */
10   public Value call(Engine engine, Value[] args) {
11     import std.conv;
12     return new Value(engine.eval(args[0]).type.to!string);
13   }
14 }