position-if-not

position-if-not is an alias for `cl-position-if-not' in `cl.el'.

(position-if-not PREDICATE SEQ [KEYWORD VALUE]...)

Find the first item not satisfying PREDICATE in SEQ.
Return the index of the matching item, or nil if not found.

Keywords supported: :key :start :end :from-end