MCPcopy Create free account
hub / github.com/araddon/qlbridge / Type

Method Type

expr/funcs.go:22–22  ·  view source on GitHub ↗

Type Define the Return Type of this function, or use value.Value for unknown.

()

Source from the content-addressed store, hash-verified

20 CustomFunc interface {
21 // Type Define the Return Type of this function, or use value.Value for unknown.
22 Type() value.ValueType
23 // Validate is parse time syntax and type evaluation. Also returns the evaluation
24 // function.
25 Validate(n *FuncNode) (EvaluatorFunc, error)

Callers 3

ValueTypeFromNodeFunction · 0.65
TestOneOffsFunction · 0.65
TestBuiltinsFunction · 0.65

Implementers 15

OneOfexpr/builtins/filter.go
Filterexpr/builtins/filter.go
FilterMatchexpr/builtins/filter.go
Lengthexpr/builtins/list_map.go
ArrayIndexexpr/builtins/list_map.go
ArraySliceexpr/builtins/list_map.go
MapFuncexpr/builtins/list_map.go
MapTimeexpr/builtins/list_map.go
Matchexpr/builtins/list_map.go
MapKeysexpr/builtins/list_map.go
MapValuesexpr/builtins/list_map.go
MapInvertexpr/builtins/list_map.go

Calls

no outgoing calls

Tested by 2

TestOneOffsFunction · 0.52
TestBuiltinsFunction · 0.52