Name

find-if

Usage

builtin-function

Syntax

(find-if predicate seq &key (key identity))

Description

Returns the first element in seq matching the conditions.

user 1 > (find-if even? '(1 2 3 4 5))
it: 2
user 2 > (find-if even? '("aap" "noot" "mies") :key .length)
it: "noot"