Function: position

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

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

Signature

(position ITEM SEQ [KEYWORD VALUE]...)

Documentation

Find the first occurrence of ITEM in SEQ.

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

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

View in manual

Probably introduced at or before Emacs version 19.1.

Aliases

position (obsolete since 27.1)