Skip to main content

CustomFunction

Type Alias CustomFunction 

Source
pub type CustomFunction = Rc<dyn Fn(&[Value]) -> Result<Value, String>>;
Expand description

A function a program adds to the language.

Aliased Type§

pub struct CustomFunction { /* private fields */ }