Skip to main content

Namespace: array

did.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/dist/utils/array.d.ts:2


findIntersection

findIntersection<T>(arr): T[]

Type parameters

Name
T

Parameters

NameType
arrT[][]

Returns

T[]

Defined in

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