/
getParent
getParent
Description
Retrieves the parent of a module. If the module has no parent, and empty string, "", is returned.
Functional area
Data retrieval
Command syntax
Syntax
getParent module [-fullPath] [-nameOnly] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
moduleName | string | yes | The module to get parent for. |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
fullPath | 0 | — | nameOnly | — |
nameOnly | 0 | — | fullPath | — |
Return value
string
Examples
// Get the parent of the "rhumerus". string $parent; $parent = `getParent "rhumerus"`; print $parent;
Additional information
Related commands
, multiple selections available,
Related content
getChildren
getChildren
More like this
getModule
getModule
More like this
getProperty
getProperty
More like this
getNamespace
getNamespace
More like this
selectParent
selectParent
More like this
getModuleRange
getModuleRange
More like this