Skip to content

pantoken-root / formats/scope/src / getScope

函式: getScope() ​

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

Beta(測試)

在 doc 中為 instanceId 註冊的範圍(若有)。

參數 ​

instanceId? ​

string = DEFAULT_INSTANCE

doc? ​

Document = document

回傳 ​

PantokenScope | undefined