mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 15:24:10 +02:00
16 lines
247 B
Beef
16 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;
|
||
|
}
|
||
|
}
|
||
|
}
|