Package: alexandria

Function disjoin

Lambda List

disjoin (predicate &rest more-predicates)


Returns a function that applies each of predicate and more-predicate functions in turn to its arguments, returning the primary value of the first predicate that returns true, without calling the remaining predicates. If none of the predicates returns true, nil is returned.