IsAncestorOf (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
No edit summary
>LPGhatguy
No edit summary
Line 2: Line 2:
{{Function|
{{Function|
name                  = IsAncestorOf
name                  = IsAncestorOf
|arguments            = [[Instance]] descendent
|arguments            = [[Instance]] Descendant
|returns              = [[Bool|Boolean]] is ancestor
|returns              = [[Bool|Boolean]] Is ancestor
|description          = Returns True if the object is an ancestor of ''descendent''
|description          = Returns whether the provided [[Instance]] is a descendant of the object.
|object              = Global
|object              = Instance
|}}
|}}
</onlyinclude>
</onlyinclude>

Revision as of 21:13, 27 December 2010

IsAncestorOf( Instance Descendant )
Returns Boolean Is ancestor
Description: Returns whether the provided Instance is a descendant of the object.