Package: cxml-stp

Function count-children

Lambda List

count-children (value parent &rest args &key from-end (start 0) end key test)

Arguments

  • value -- an object
  • parent -- a node
  • from-end -- a generalized boolead
  • start, end -- bounding index designators for parent's child list
  • key -- a designator for a function of one argument, or nil
  • test -- a designator for a function of two arguments, or nil

Return Value

a non-negative integer less than or equal to the number of child nodes

Details

Counts (and returns the number of) parent's child nodes satisfying the test.
 

See also