API Frame GetChildren

Returns a list of child frames belonging to the frame.
 child1, ... = Frame:GetChildren()
==Returns==
:;child1, ...: - A list of frames which are children of this frame or nil if there are noone.
==Example==
Iterates through each child using a table.
local children = {PlayerFrame:GetChildren()}
for i, child in ipairs(children) do
	print(i, child:GetObjectType(), child:GetDebugName())
end
1, "Frame", "PlayerFrame.Selection"
2, "Frame", "PlayerFrame.PlayerFrameContainer"
3, "Frame", "PlayerFrame.PlayerFrameContent"
4, "Frame", "PlayerFrameDropDown"
5, "Frame", "PlayerFrameBottomManagedFramesContainer"
...
==Patch changes==
===References===