- Preparing search index...
- The search index is not available
akaba-tool
- findOneByValue<T, K>(arrLike: ArrayLike<T>, propertyName: K, value: T[K]): {
index: number;
value: T | undefined;
}
-
Type Parameters
-
T extends object
-
K extends string | number | symbol
Parameters
-
arrLike: ArrayLike<T>
-
propertyName: K
-
value: T[K]
Returns {
index: number;
value: T | undefined;
}
-
index: number
-
value: T | undefined
Since
1.2.3