Function: position-if

position-if is a function alias for cl-position-if, defined in cl-seq.el.gz.

This function is obsolete since 27.1; use cl-position-if instead.

Signature

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

Documentation

Find the first item satisfying PREDICATE in SEQ.

Return the index of the matching item, or nil if not found.

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

Aliases

position-if (obsolete since 27.1)