js

package
v0.0.0-...-6c0504e Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyBytesToGo

func CopyBytesToGo(dst []byte, src Value) int

Types

type Func

type Func struct {
	Value
}

func FuncOf

func FuncOf(fn func(this Value, args []Value) any) Func

type Value

type Value struct{}

func Global

func Global() Value

func Null

func Null() Value

func Undefined

func Undefined() Value

func (Value) Bool

func (v Value) Bool() bool

func (Value) Call

func (v Value) Call(m string, args ...any) Value

func (Value) Get

func (v Value) Get(p string) Value

func (Value) InstanceOf

func (v Value) InstanceOf(t Value) bool

func (Value) Int

func (v Value) Int() int

func (Value) IsNull

func (v Value) IsNull() bool

func (Value) IsUndefined

func (v Value) IsUndefined() bool

func (Value) New

func (v Value) New(args ...any) Value

func (Value) Set

func (v Value) Set(p string, x any)

func (Value) String

func (v Value) String() string

func (Value) Truthy

func (v Value) Truthy() bool

Jump to

Keyboard shortcuts

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