ObjectSpace :: isDictionary - Is object space a dictionary
The property returns, whether the object space is a dictionary or not. The property return true, when the object space is a dictionary and false otherwise. The function should be called before converting an object space into a dictionary.
Dictionary GetDictionary ( ObjectSpace &os ) {
return os.isDictionary() ? os.asDictionary() : Dictionary();
}
Return value: Success ( bool )
The value is true when the function was executed successfully. Otherwise the value is set to false.