Versions in this module Expand all Collapse all v1 v1.18.1 Aug 15, 2022 Changes in this version + func CopyBytesToGo(dst []byte, src Value) int — js/wasm + func CopyBytesToJS(dst Value, src []byte) int — js/wasm + type Error struct — js/wasm + func (e Error) Error() string + type Func struct — js/wasm + func FuncOf(fn func(this Value, args []Value) interface{}) Func + func (f Func) Release() + type Type int — js/wasm + const TypeBoolean + const TypeFunction + const TypeNull + const TypeNumber + const TypeObject + const TypeString + const TypeSymbol + const TypeUndefined + func (t Type) String() string + type Value struct — js/wasm + func Global() Value + func Null() Value + func Undefined() Value + func ValueOf(x interface{}) Value + func (v Value) Bool() bool + func (v Value) Call(m string, args ...interface{}) Value + func (v Value) Delete(p string) + func (v Value) Equal(w Value) bool + func (v Value) Float() float64 + func (v Value) Get(p string) Value + func (v Value) Index(i int) Value + func (v Value) InstanceOf(t Value) bool + func (v Value) Int() int + func (v Value) Invoke(args ...interface{}) Value + func (v Value) IsNaN() bool + func (v Value) IsNull() bool + func (v Value) IsUndefined() bool + func (v Value) JSValue() Value + func (v Value) Length() int + func (v Value) New(args ...interface{}) Value + func (v Value) Set(p string, x interface{}) + func (v Value) SetIndex(i int, x interface{}) + func (v Value) String() string + func (v Value) Truthy() bool + func (v Value) Type() Type + type ValueError struct — js/wasm + Method string + Type Type + func (e *ValueError) Error() string