Type.getRootNamespaces Method
Returns an Array object containing references to all the root namespaces of the client application. This method is static and is invoked without creating an instance of the object.
var rootNamespacesVar = Type.getRootNamespaces();
Show: