Skip to content

Length

types that provide a len function such as lists, strings etc. are expected to nominally inherit from this type either directly or indirectly.

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

Characteristics

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

Methods

construct

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

len

#strict
len (s @Self) -> Len
abstract