MCPcopy
hub / github.com/ampproject/amphtml / flatten

Function flatten

build-system/tasks/dep-check.js:317–319  ·  view source on GitHub ↗

* Flatten array of arrays if necessary. * * @param {Array} arr * @return {!Array}

(arr)

Source from the content-addressed store, hash-verified

315 * @return {!Array}
316 */
317function flatten(arr) {
318 return [].concat.apply([], arr);
319}
320
321module.exports = {
322 depCheck,

Callers 2

getEntryPointModuleFunction · 0.70
flattenGraphFunction · 0.70

Calls 1

applyMethod · 0.80

Tested by

no test coverage detected