Method Object:ToUnit [-] [+]

Attempts to convert the Object to a Unit.

If the Object is not a Unit, returns nil.

Synopsis

unit = Object:ToUnit()

Arguments

None.

Returns

Unit unit

The Object as a Unit, or nil.

Generated on
©2016 - Eluna Lua Engine