MCPcopy
hub / github.com/redux-loop/redux-loop / flatten

Function flatten

src/utils.js:3–5  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

1const concat = Array.prototype.concat;
2
3export const flatten = (array) => {
4 return concat.apply([], array);
5};
6
7export const throwInvariant = (condition, message) => {
8 if (!condition) {

Callers 2

utils.spec.jsFile · 0.90
simulateListFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected