object

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotAnObject    = errors.New("The given value must be a Object")
	ErrNotImplemented = errors.New("Browser not implemented Object")
)

Functions

func GetInterface

func GetInterface() js.Value

GetInterface get the JS interface

Types

type Object

type Object struct {
	baseobject.BaseObject
}

Object struct

func New

func New() (Object, error)

func NewFromJSObject

func NewFromJSObject(obj js.Value) (Object, error)

func (Object) Keys

func (o Object) Keys() (array.Array, error)

func (Object) Map

func (o Object) Map() (objectmap.ObjectMap, error)

func (Object) Object_

func (o Object) Object_() Object

func (Object) Values

func (o Object) Values() (array.Array, error)

type ObjectFrom

type ObjectFrom interface {
	Object_() Object
}

Jump to

Keyboard shortcuts

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