0.6.0
-
Fix
index(of:)
when searching for duplicate elements. Previously,index(of:)
was not guaranteed to return the index of the first matching element when the array contains duplicates. This is now fixed (#16). Thanks @Mamonaku! -
Provide
lastIndex(of:)
andanyIndex(of:)
(when it’s not important which of multiple matching elements is found) methods to complementindex(of:)
.