Skip to content

pantoken-root / formats/scope/src / resolveInstance

函式: resolveInstance() ​

resolveInstance(start): string

Beta(測試)

擁有 start 的實例;若無則回退到 DEFAULT_INSTANCE。

在對事件或訊息採取行動前,使用此項判斷該事件或訊息是否屬於你。

參數 ​

start ​

Element | null

回傳 ​

string