tlang-interperter-cs/tlanglib/TUninit.cs

19 lines
350 B
C#

using Newtonsoft.Json.Linq;
namespace tlang
{
public class TUninit : TObject
{
public override bool AsBoolean {get=>false;}
public override JToken AsToken()
{
return JValue.CreateUndefined();
}
public override string ToString()
{
return "undefined";
}
}
}