array

Stores ordered values.

Target type

Signature

1array(value, ...)

Stores ordered values.

array constructs or identifies a LaiRu value type. array is useful when moving through groups of values. Prefer collection operations that match the shape of the data rather than converting everything to strings.

Parameters

value
Required value. Supply value positionally unless the signature shows a keyword form.
...
Additional values may be supplied after the earlier arguments.

Examples

Basic call

1array('a', 'b')
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.