Find first index of an adjacent duplicate value. 📘
an array
Optional
compare function (a, b)
map function (v, i, x)
index of first adjacent duplicate value, -1 if none
Generated using TypeDoc
Find first index of an adjacent duplicate value. 📘