FunctionCallback

Type Alias FunctionCallback 

Source
pub type FunctionCallback = dyn Fn(Vec<Value>, &Nodes) -> Result<Value, ()>;
Expand description

A closure that will be invoked when a particular function is called in a Yarn expression.