findEqual Method

Looks up an element comparing equal to the specified value using binary search.

findEqual(value: T): undefined | T

@returns the first equivalent element found in the array, or undefined if no such element exists.

Parameter Type Description
value T The value to search for

Returns - undefined | T

the first equivalent element found in the array, or undefined if no such element exists.

Defined in

Last Updated: 23 November, 2024