1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-19 16:40:26 +02:00
Beef/BeefLibs/corlib/src/Boolean.bf
2020-02-18 08:41:14 -08:00

15 lines
244 B
Beef

namespace System
{
struct Boolean : bool, IHashable
{
public override void ToString(String strBuffer)
{
strBuffer.Append(((bool)this) ? "true" : "false");
}
public int GetHashCode()
{
return ((bool)this) ? 1 : 0;
}
}
}