Type Definition balena_temen::FunctionFn
source · Expand description
Evaluation engine function signature
You can register custom function with the function
method.
Arguments
args
- A function argumentscontext
- An evaluation context
Examples
random()
:
random
- function nameargs
- empty map
random(max=1024)
random
- function nameargs
- map containsmax
key with theValue::Number(1024)
value
Visit function
method documentation to see how to register custom function
and how it should look like.