1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-29 21:05:59 +02:00
Beef/BeefLibs/corlib/src/System/Boolean.bf
2019-08-23 11:56:54 -07:00

15 lines
247 B
Beef

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;
}
}
}