MohoLayer:AncestorSwitchChild()

Version added: before 9.5

Return type: MohoLayer

The nearest ancestor which is a direct child of a switch layer.