mirror of
https://github.com/hanzoai/govaluate.git
synced 2026-10-30 18:35:50 +00:00
8 lines
339 B
Go
8 lines
339 B
Go
package govaluate
|
|
|
|
// Represents a function that can be called from within an expression.
|
|
// This method must return an error if, for any reason, it is unable to produce exactly one unambiguous result.
|
|
// An error returned will halt execution of the expression.
|
|
|
|
type ExpressionFunction func(arguments ...interface{}) (interface{}, error)
|