facets
facets copied to clipboard
Add Array#indexes (index_all)
Like Array#index
/rindex
but returns all indexes instead of just the first/last.
This would be useful to have until https://bugs.ruby-lang.org/issues/6596 gets accepted.