getScope
Retrieves the memory scope associated with the specified memory scope type.
Return
The corresponding memory scope if the type is valid and has a name, or null if no name is associated with the provided type.
Parameters
type
The type of memory scope to retrieve.