Versions in this module Expand all Collapse all v0 v0.1.2 Oct 15, 2025 Changes in this version type Value + func (v Value) IsTruthy() bool v0.1.1 Sep 21, 2025 Changes in this version type Value + Any any + Error error + Func *ast.FuncDeclarationStatement + Values []Value + func Any(a any) Value + func Array(values ...Value) Value + func Error(e error) Value + func Function(fn *ast.FuncDeclarationStatement) Value + func Tuple(values ...Value) Value + func (v Value) AsArray() ([]Value, error) + func (v Value) AsError() (error, error) + func (v Value) AsFunction() (*ast.FuncDeclarationStatement, error) + func (v Value) AsTuple() ([]Value, error) + func (v Value) Equals(other Value) bool v0.1.0 Aug 20, 2025 Changes in this version + type Value struct + Bool bool + Num float64 + Str string + func Bool(b bool) Value + func Null() Value + func Number(n float64) Value + func String(s string) Value + func (v Value) AsBool() (bool, error) + func (v Value) AsNumber() (float64, error) + func (v Value) AsString() (string, error) + func (v Value) DataType() datatype.DataType + func (v Value) ToString() string