Find element's index/key in array or object for which provided function
Until element is found, provided function is called for each element with arguments: current element, current index/key and initial container.
If searched element is not found,
undefined is returned.
Optional index: number
Optional arr: T
Optional key: string
Optional obj: Record<string, T>
Generated using TypeDoc