ArrayLiteral

Creates a static array composed of passed elements. Note that the array is allocated on the stack, so care should be taken not to let slices of it escape from functions.

ArrayLiteral
(
ElemTypes...
)
(
ElemTypes elems
)

Return Value

Type: auto

Newly created static array.

Meta