MCPcopy Create free account
hub / github.com/NUKnightLab/sql-mysteries / flatten

Function flatten

scripts/lodash.js:7325–7328  ·  view source on GitHub ↗

* Flattens `array` a single level deep. * * @static * @memberOf _ * @since 0.1.0 * @category Array * @param {Array} array The array to flatten. * @returns {Array} Returns the new flattened array. * @example * * _.flatten([1, [2, [3, [4]], 5]]);

(array)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

baseFlattenFunction · 0.85

Tested by

no test coverage detected