helpers

package
v0.0.0-...-0234a01 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VMCheck

func VMCheck(v goja.Value) bool

func VMSafeBool

func VMSafeBool(v goja.Value) (bool, bool)

func VMSafeInt64

func VMSafeInt64(v goja.Value) (int64, bool)

func VMSafeMarshal

func VMSafeMarshal(target interface{}, obj goja.Value, vm *goja.Runtime) error

func VMSafeObj

func VMSafeObj(vm *goja.Runtime, v goja.Value) (*goja.Object, bool)

func VMSafeStr

func VMSafeStr(v goja.Value) (string, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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