Skip to content

Bool

graph BT
N1["Bool"] -->|inherits| N2["Any"];

Characteristics

Quality Value
Inherits global.Any
Extends N/A
Decorators #extern;
Is enum false
Is sealed false
Is extern true
Is abstract false
Is generator false
Has value semantics true
Has stored properties false
Should register destructor false
Has atomic memory true
Is copy assignable true
Is zero initializable true

Functions

parse

parse (str String) -> Bool

Methods

construct

#default
#Gambol.function.alwaysinline
construct (s @Self) -> Self

str

#Gambol.function.alwaysinline
str (s @Self) -> String

atomic_compare_exchange

#Gambol.function.alwaysinline
#default
atomic_compare_exchange (s @Self, expected @Self, new @Self, memory_order Int8 = Memory.kOrderMonotonic, volatile: Bool) -> Bool, Bool

atomic_and

#Gambol.function.alwaysinline
#default
atomic_and (s @Self, o @Self, memory_order Int8 = Memory.kOrderMonotonic, volatile: Bool) -> Bool

atomic_nand

#Gambol.function.alwaysinline
#default
atomic_nand (s @Self, o @Self, memory_order Int8 = Memory.kOrderMonotonic, volatile: Bool) -> Bool

atomic_or

#Gambol.function.alwaysinline
#default
atomic_or (s @Self, o @Self, memory_order Int8 = Memory.kOrderMonotonic, volatile: Bool) -> Bool

atomic_xor

#Gambol.function.alwaysinline
#default
atomic_xor (s @Self, o @Self, memory_order Int8 = Memory.kOrderMonotonic, volatile: Bool) -> Bool

atomic_load

#Gambol.function.alwaysinline
#default
atomic_load (s @Self, memory_order Int8 = Memory.kOrderMonotonic, volatile: Bool) -> Bool

atomic_store

#Gambol.function.alwaysinline
#default
atomic_store (s @Self, value Bool, memory_order Int8 = Memory.kOrderMonotonic, volatile: Bool) -> Nil

atomic_exchange

#Gambol.function.alwaysinline
#default
atomic_exchange (s @Self, value Bool, memory_order Int8 = Memory.kOrderMonotonic, volatile: Bool) -> Bool

Unary Operators

not

#Gambol.function.alwaysinline
#default
not (s @Self) -> Bool

Binary Operators

=

#Gambol.function.alwaysinline
#default
= (s @Self, o @Self) -> Self

==

#Gambol.function.alwaysinline
#default
== (s @Self, o @Self) -> Bool

and

#Gambol.function.alwaysinline
#default
and (s @Self, o @Self) -> Bool

or

#Gambol.function.alwaysinline
#default
or (s @Self, o @Self) -> Bool

xor

#Gambol.function.alwaysinline
#default
xor (s @Self, o @Self) -> Bool

and=

#Gambol.function.alwaysinline
#default
and= (s @Self, o @Self) -> Self

or=

#Gambol.function.alwaysinline
#default
or= (s @Self, o @Self) -> Self

xor=

#Gambol.function.alwaysinline
#default
xor= (s @Self, o @Self) -> Self

&

#Gambol.function.alwaysinline
#default
& (s @Self, o @Self) -> Bool

&=

#Gambol.function.alwaysinline
#default
&= (s @Self, o @Self) -> Self

|

#Gambol.function.alwaysinline
#default
| (s @Self, o @Self) -> Bool

|=

#Gambol.function.alwaysinline
#default
|= (s @Self, o @Self) -> Self

^

#Gambol.function.alwaysinline
#default
^ (s @Self, o @Self) -> Bool

^=

#Gambol.function.alwaysinline
#default
^= (s @Self, o @Self) -> Self

Casts To

  • Int512
  • UInt512
  • Int256
  • UInt256
  • Int128
  • UInt128
  • Int64
  • UInt64
  • Int32
  • UInt32
  • Int16
  • UInt16
  • Int8
  • UInt8
  • NInt
  • UNInt
  • Float32
  • Float64
  • NFloat