Array.dup

struct Array(T)
@property
dup
()
if (
is(immutable T == immutable bool)
)

Return Value

Type: Array

A duplicate of the array.

Complexity: O(length).

Meta