Skip to content

pantoken-root / formats/scope/src / getScope

Function: getScope() ​

getScope(instanceId?, doc?): PantokenScope | undefined

Beta

The scope registered for instanceId in doc, if any.

Parameters ​

instanceId? ​

string = DEFAULT_INSTANCE

doc? ​

Document = document

Returns ​

PantokenScope | undefined