back to Overview

.array()

Converts a Minified list or other array-like structure into a native JavaScript array.
Util module only.

Syntax Variants

list.array()
_.array(list)

Parameters

list
The list to convert. Can be an array, a Minified list or any other array-like structure with length property.
(return value)
A native array containing a shallow copy of the input array's values.

Description

Converts a Minified list or other array-like structure into a native JavaScript array.

Comments

comments powered by Disqus

back to Overview

Functions