Package: cxml-stp

Function find-recursively-if

Lambda List

find-recursively-if (predicate node &key key)

Arguments

  • test -- a designator for a function of one argument that returns a generalized boolean
  • node -- a node
  • key -- a designator for a function of one argument, or nil

Return Value

a node or nil

Details

Searches in pre-order for the first descendant of node that satisfies the test and returns it.

 

See also