Next: , Previous: parentp, Up: Objects Dictionary


ancestorp
— Function: ancestorp maybe-ancestor descendant

=> generalized-boolean

Arguments and Values:

maybe-ancestor — an object.

descendant — an object.

Description:

Returns true if maybe-descendant is an ancestor of descendant, false otherwise.

Examples:

     (ancestorp =STANDARD-SHEEP= (object :parents (list (object)))) => Generalized truth value