array_index_by_equality
array_index_by_equality(array, element, equals) ⇒ number
Works similarly to Array.prototype.indexOf, but instead of strict equality - uses provided equality method
Kind: global function
Returns: number - index of first match or -1 if no matches found
| Param | Type |
|---|---|
| array | Array.<T> |
| element | T |
| equals | function |