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. :)
Returns a boolean indicating if the supplied behavior is an ancestor of the behavior.
var isAncestor = behavior.ancestorOf(some_other_behavior);
It's unlikely that you will ever need this. :)