stdlib-js

stdlib-js/array-base-index-of-same-...

Return the index of the first element which equals a provided search element according to the same value algorithm.

JavaScript
0
0
Apache License 2.0

This is a utility function for finding the index of an element in an array using the SameValue algorithm for equality comparison. It's designed for developers who need precise control over equality checks, particularly when dealing with edge cases like NaN values and distinguishing between -0 and +0. The function provides the same behavior as JavaScript's native indexOf but with stricter equality semantics.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

stdlib-bot's profile
stdlib-bot
6 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet