ancestorOf()

Returns a boolean indicating if the supplied behavior is an ancestor of the behavior.

Syntax

var isAncestor = behavior.ancestorOf(some_other_behavior);

Notes

It's unlikely that you will ever need this. :)

See Also