Skip to content

pantoken-root / formats/scope/src / getScope

Функція: getScope() ​

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

Бета

The scope registered for instanceId in doc, якщо такий є.

Параметри ​

instanceId? ​

string = DEFAULT_INSTANCE

doc? ​

Document = document

Повертає ​

PantokenScope | undefined