Namespace: array
utils.array
Functions
asyncFilter
▸ asyncFilter<T
>(arr
, predicate
): Promise
<T
[]>
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
arr | T [] |
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
Name | Type |
---|---|
arr | T [][] |
Returns
T
[]
Defined in
packages/klayr-decentralized-identifier/src/utils/array.ts:1