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();
Return Value
An object containing references to all the root namespaces of the client application.
Remarks
Use the getRootNamespaces function to return an array containing references to all the root namespaces of the client application.