Name

as-array

Usage

builtin-function

Syntax

(as-array seq type)
(as-array seq)

Description

Converts a sequence to an array.

user > (as-array '(1 2 3))
it: [1 2 3]
user > (as-array '(1 2 3) 'int)
it: [1 2 3]