tlang-interperter-cs/tlanglib/TUninit.cs

19 lines
350 B
C#
Raw Normal View History

2023-06-08 18:14:35 +00:00
using Newtonsoft.Json.Linq;
2023-03-09 19:40:14 +00:00
namespace tlang
{
public class TUninit : TObject
{
2023-03-09 23:57:16 +00:00
public override bool AsBoolean {get=>false;}
2023-06-08 18:14:35 +00:00
public override JToken AsToken()
{
return JValue.CreateUndefined();
}
2023-03-09 19:40:14 +00:00
public override string ToString()
{
return "undefined";
}
}
}