value · System
Boolean
public value Boolean : IHashable<bool>, IToString
- Tipo
- value
- Espacio de nombres
- System
- Ensamblado
- System.Core
- Acceso
- public, miembros de bool
- Archivo fuente
Primitives.ant
Herencia
- Interfaces
-
IHashable<TSelf>IToString
Métodos
Código fuente
Boolean en Antril, descompilado a partir de su Larva HIR.
// System.Boolean — System.Core (decompiled from Larva HIR)
into namespace System
{
[Primitive("bool")]
public value Boolean : IHashable<bool>, IToString
{
public:
ToString() : str => this ? "true" : "false";
Hash() : u64 => this ? 1 : 0;
Equals(bool other) : bool => this == other;
}
}