object

package
v0.0.0-...-f2efcc2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FCreate = lang.NewMethod("create", createObject, "creates a blank object")
View Source
var FGet = lang.NewMethod("get", getObject, "get a value in the given object.")
View Source
var FKeys = lang.NewMethod("keys", keysObject, "get a slice of all keys in the object.")
View Source
var FSet = lang.NewMethod("set", setObject, "set a value in the given object.")

Functions

func Init

func Init() *module.Module

Types

type Object

type Object struct {
	Value map[string]lang.Type // the value of the object
}

Jump to

Keyboard shortcuts

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