1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-16 15:24:10 +02:00
Beef/BeefLibs/corlib/src/Boolean.bf

16 lines
247 B
Beef
Raw Normal View History

2019-08-23 11:56:54 -07:00
namespace System
{
struct Boolean : bool, IHashable
{
public override void ToString(String strBuffer)
{
strBuffer.Append(((bool)this) ? "true" : "false");
}
int IHashable.GetHashCode()
{
return ((bool)this) ? 1 : 0;
}
}
}