dict

package
v0.171.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FluxTestPackages = []*ast.Package{&ast.Package{
	BaseNode: ast.BaseNode{
		Comments: nil,
		Errors:   nil,
		Loc:      nil,
	},
	Files:   []*ast.File{},
	Package: "dict_test",
	Path:    "dict",
}}

Functions

func FromList

func FromList(args interpreter.Arguments) (values.Value, error)

FromList will convert a list of values into a Dictionary.

func Get

func Get(args interpreter.Arguments) (values.Value, error)

Get will retrieve a value from a Dictionary.

func Insert

func Insert(args interpreter.Arguments) (values.Value, error)

Insert will insert a value into a Dictionary and return the new Dictionary. It will not modify the original Dictionary.

func Remove

func Remove(args interpreter.Arguments) (values.Value, error)

Remove will remove a value from a Dictionary and return the new Dictionary. It will not modify the original Dictionary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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