EMA-XPS Online


POSITION-IF

POSITION-IF
===========

syntax: (position-if <predicate> <sequence>)

This function and the POSITION function work similar,
but this function searches in the sequence for the
first Element, which has the right predicate. It
returns the position of the element, otherwise NIL.

example:   >(position-if #'numberp '(a b c d 1 2 3 4))
           4


EMA-XPS Online