builtin

package
v3.2.7 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dedupe

type Dedupe struct {
	VM *goja.Runtime
	// contains filtered or unexported fields
}

Dedupe is a javascript builtin for deduping values

func NewDedupe

func NewDedupe(vm *goja.Runtime) *Dedupe

NewDedupe creates a new dedupe builtin object

func (*Dedupe) Add

func (d *Dedupe) Add(call goja.FunctionCall) goja.Value

Add adds a value to the dedupe

func (*Dedupe) Values

func (d *Dedupe) Values(call goja.FunctionCall) goja.Value

Values returns all values from the dedupe

Jump to

Keyboard shortcuts

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