MCPcopy
hub / github.com/microsoft/SandDance / concat

Function concat

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

Source from the content-addressed store, hash-verified

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT license.
3export function concat<T>(...args: T[][]) {
4 return args.reduce((p, c) => c ? p.concat(c) : p, []);
5}
6
7/**
8 * Returns array with items which are truthy.

Callers 1

getLayersFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected