contains


Description:

[ Version ( since = "1.4" ) ]
public bool contains (Actor descendant)

Determines if descendant is contained inside this (either as an immediate child, or as a deeper descendant).

If this and descendant point to the same actor then it will also return true.

Parameters:

this

A Actor

descendant

A Actor, possibly contained in this

Returns:

whether descendent is contained within this