tlang-interperter-cs/tlanglib/TNull.cs

17 lines
333 B
C#

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