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