Lodash.toArray

Converts value to an array. _.toArray({ 'a': 1, 'b': 2 }); // => [1, 2]

_.toArray('abc'); // => ['a', 'b', 'c']

_.toArray(1); // => []

struct Lodash
nothrow @trusted @safe ref
toArray
()
()

Return Value

Type: auto ref

- Lodash chained on (Array): the converted array.

Meta