Char
This is essentially a UInt8 that is interpreted as an ASCII character.
graph BT
N1["Char"] -->|inherits| N2["IntegralNumber"];
N1["Char"] -->|extends| N3["ISystemUInt[UInt8]"];
N3["ISystemUInt[UInt8]"] -->|inherits| N2["IntegralNumber"];
N2["IntegralNumber"] -->|inherits| N4["Number"];
N4["Number"] -->|inherits| N5["Stringable"];
N5["Stringable"] -->|inherits| N6["Any"];
N2["IntegralNumber"] -->|inherits| N4["Number"];
N4["Number"] -->|inherits| N5["Stringable"];
N5["Stringable"] -->|inherits| N6["Any"];
Characteristics
Quality | Value |
---|---|
Inherits | IntegralNumber |
Extends | ISystemUInt[UInt8] |
Decorators | N/A |
Is enum | false |
Is sealed | false |
Is extern | false |
Is abstract | false |
Is generator | false |
Has value semantics | true |
Has stored properties | true |
Should register destructor | false |
Has atomic memory | true |
Is copy assignable | true |
Is zero initializable | true |
Methods
construct
#default
#Gambol.function.alwaysinline
construct (s @Self) -> Self
is_lower
#Gambol.function.alwaysimplement
#Gambol.function.nounwind
is_lower (s @Self) -> Bool
lower
#Gambol.function.nounwind
lower (s @Self) -> SelfType
is_upper
#Gambol.function.alwaysimplement
#Gambol.function.nounwind
is_upper (s @Self) -> Bool
upper
#Gambol.function.nounwind
upper (s @Self) -> SelfType
swapcase
#Gambol.function.nounwind
swapcase (s @Self) -> SelfType
is_digit
#Gambol.function.alwaysimplement
#Gambol.function.nounwind
is_digit (s @Self) -> Bool
is_alpha
#Gambol.function.nounwind
is_alpha (s @Self) -> Bool
is_alphanum
#Gambol.function.nounwind
is_alphanum (s @Self) -> Bool
is_punctuation
#Gambol.function.alwaysimplement
#Gambol.function.nounwind
is_punctuation (s @Self) -> Bool
is_space
#Gambol.function.alwaysimplement
#Gambol.function.nounwind
is_space (s @Self) -> Bool
is_null
#Gambol.function.alwaysimplement
#Gambol.function.nounwind
is_null (s @Self) -> Bool
is_printable
#Gambol.function.nounwind
is_printable (s @Self) -> Bool
is_extended_ascii
#Gambol.function.nounwind
is_extended_ascii (s @Self) -> Bool
ord
#Gambol.function.alwaysimplement
#Gambol.function.nounwind
ord (s @Self) -> UInt8
str
str (s @Self) -> String