satisfies

Serves the same purpose as find-key.  Locates an element in seq that returns a true value from pred, and returns its key.

Exported from

Modifiers

sealed

Arguments

predAn instance of <function>.  The test function to find an element.
seqAn instance of <sequence>.
failure:An instance of <object>.  The value returned if no matching element is found.  Defaults to #f.

Values

indexAn instance of <integer> or the failure value.  The index of the found element.
Returns the key in a collection such that the corresponding collection element satisfies a predicate.
Sequence-Utilities, written by Matthias Hölzl, provides common or oft-used operations performed on <sequence>s.
The class of objects that can be applied to arguments.
The class of collections whose keys are consecutive integers starting from zero.
The class of all Dylan objects.
The class of integers.