bn.canIUseCustom
▸ canIUseCustom(options): Promise<boolean>
description Check if a custom action or event is usable. parameter { action?: string, event?: string }
example
const result = await bn.canIUseCustom({ action: "bnlive-test" });
Parameters
| Name | Type |
|---|---|
options | CanUseOptions |
Returns
Promise<boolean>
CanUseOptions
Ƭ CanUseOptions: Object
Type declaration
| Name | Type |
|---|---|
action? | string |
event? | string |