API FrameScriptObject GetName

Returns the object's global name.
 name = FrameScriptObject:GetName()
==Returns==
:;name: - The name of the frame. This is also a variable in the global namespace.
==Example==
This is the name param from . Returns nil for anonymous frames.
/dump CreateFrame("Frame", "SomeFrame"):GetName() -- "SomeFrame"
/dump CreateFrame("Frame"):GetName() -- nil
This is the name attribute in XML.
<Frame name="HelloFrame"></Frame>
/dump HelloFrame:GetName() -- "HelloFrame"