getIndex Method

Returns index of supplied value.

getIndex(lookupValue: T): undefined | number

@returns index of value or undefined if value is not found.

Parameter Type Description
lookupValue T  

Returns - undefined | number

index of value or undefined if value is not found.

Defined in

Last Updated: 14 November, 2024