Skip to main content

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

NameType
optionsCanUseOptions

Returns

Promise<boolean>


CanUseOptions#

Ƭ CanUseOptions: Object

Type declaration

NameType
action?string
event?string