MCPcopy Index your code
hub / github.com/microsoft/SandDance / allTruthy

Function allTruthy

packages/vega-deck.gl/src/array.ts:11–13  ·  view source on GitHub ↗
(...args: T[][])

Source from the content-addressed store, hash-verified

9 * @param args array or arrays to concat into a single array.
10 */
11export function allTruthy<T>(...args: T[][]) {
12 return args.reduce((p, c) => c ? p.concat(c) : p, []).filter(Boolean);
13}
14
15/**
16 * Add an array to an existing array in place.

Callers

nothing calls this directly

Calls 1

filterMethod · 0.45

Tested by

no test coverage detected