Skip to main content

Function: flattenClusterListItems()

function flattenClusterListItems<T>(...args: (null | object)[]): T[] | null

This function joins a list of items per cluster into a single list of items.

Type Parameters

Type Parameter
T

Parameters

ParameterTypeDescription
...args(null | object)[]The list of objects per cluster to join.

Returns

T[] | null

The joined list of items, or null if there are no items.

Defined in

src/lib/util.ts:218