setGlobalStateUnlessSet

Set the global state object unless it is already set

bool
setGlobalStateUnlessSet

Parameters

new_state LibraryState

the new global state to use

Return Value

Type: bool

true if the state parameter is now being used as the global state, or false if one was already set, in which case the parameter was deleted immediately

Meta