package dict

import "github.com/influxdata/flux/stdlib/dict"

Index

Functions

func FromList

func FromList(args *function.Arguments) (values.Value, error)

FromList will convert a list of values into a Dictionary.

func Get

func Get(args *function.Arguments) (values.Value, error)

Get will retrieve a value from a Dictionary.

func Insert

func Insert(args *function.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 *function.Arguments) (values.Value, error)

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

Source Files

dict.go

Version
v0.196.1 (latest)
Published
Feb 19, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
1 day ago

Tools for package owners.