Is Repeated in a Vector Tests for a certain number of repetitions of vals in a given vector x.
vals
x
Useful links