The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Array.dup
std
container
array
Array
struct
Array
(T)
@
property
Array
dup
(
)
if
(
is
(immutable
T
== immutable
bool
)
)
Return Value
Type:
Array
A duplicate of the array.
Complexity:
O
(length)
.
Meta
Source
See Implementation
std
container
array
Array
aliases
insert
linearInsert
stableInsert
stableInsertAfter
stableInsertBack
stableInsertBefore
stableLinearInsert
stableRemoveAny
stableRemoveBack
stableReplace
constructors
this
functions
clear
insertAfter
insertBack
insertBefore
linearRemove
moveAt
opBinary
opIndex
opIndexAssign
opIndexOpAssign
opOpAssign
opSlice
removeAny
removeBack
replace
reserve
properties
back
capacity
dup
empty
front
length
structs
Range