ring-member

ring-member is a compiled Lisp function in `ring.el'.

(ring-member RING ITEM)

Return index of ITEM if on RING, else nil.
Comparison is done via `equal'. The index is 0-based.