commandlineprivate

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuncHasSwitch

func FuncHasSwitch() (fn js.Func[func(name js.String) js.Promise[js.Boolean]])

FuncHasSwitch returns the function "WEBEXT.commandLinePrivate.hasSwitch".

func HasFuncHasSwitch

func HasFuncHasSwitch() bool

HasFuncHasSwitch returns true if the function "WEBEXT.commandLinePrivate.hasSwitch" exists.

func HasSwitch

func HasSwitch(name js.String) (ret js.Promise[js.Boolean])

HasSwitch calls the function "WEBEXT.commandLinePrivate.hasSwitch" directly.

func TryHasSwitch

func TryHasSwitch(name js.String) (ret js.Promise[js.Boolean], exception js.Any, ok bool)

TryHasSwitch calls the function "WEBEXT.commandLinePrivate.hasSwitch" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL