Skip to main content

Namespace: array

utils.array

Functions

asyncFilter

asyncFilter<T>(arr, predicate): Promise<T[]>

Type parameters

Name
T

Parameters

NameType
arrT[]
predicate(data: T) => Promise<boolean>

Returns

Promise<T[]>

Defined in

packages/klayr-decentralized-identifier/src/utils/array.ts:6


findIntersection

findIntersection<T>(arr): T[]

Type parameters

Name
T

Parameters

NameType
arrT[][]

Returns

T[]

Defined in

packages/klayr-decentralized-identifier/src/utils/array.ts:1