hunt-extra v1.1.8 (2021-12-13T08:45:08Z)
Home
Dub
Repo
Array.length
hunt
collection
Array
Array
Returns the number of elements in the array.
Complexity:
O
(1)
.
size_t
length
[@property getter]
struct
Array
(T)
@
property
const
size_t
length
(
)
if
(
is
(immutable
T
== immutable
bool
)
)
size_t
length
[@property setter]
Meta
Source
See Implementation
hunt
collection
Array
Array
aliases
insert
linearInsert
stableInsert
stableInsertAfter
stableInsertBack
stableInsertBefore
stableLinearInsert
stableRemoveAny
stableRemoveBack
stableReplace
functions
clear
insertAfter
insertBack
insertBefore
linearRemove
moveAt
opBinary
opDollar
opIndex
opIndexAssign
opIndexOpAssign
opOpAssign
opSlice
removeAny
removeBack
replace
reserve
properties
back
capacity
dup
empty
front
length
static variables
bitsPerWord
structs
Range
Returns the number of elements in the array.
Complexity: O(1).