array

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(arr []interface{}, elem interface{}) (bool, error)

Contains returns true if the array contains the given element @function

Types

type ContainsInterpreter

type ContainsInterpreter struct {
}

ContainsInterpreter is the Conflow interpreter for the Contains function

func (ContainsInterpreter) Eval

func (i ContainsInterpreter) Eval(ctx interface{}, args []interface{}) (interface{}, error)

Eval returns with the result of the function

func (ContainsInterpreter) Schema

func (i ContainsInterpreter) Schema() schema.Schema

Jump to

Keyboard shortcuts

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