pub type FunctionTransformFn = Arc<dyn Fn(&Value, &Config) -> Result<Value> + Send + Sync>;Expand description
A configured function’s transform(parameters, config): the parameters as upstream passes
them, resolve(fn.parameters, config), which is normally a plain object of the call’s
arguments (keyed by name or position) but any value a document can make (an object with a
prototype, or true for class=f() .parameters): read it as JavaScript does
(value::get for parameters[0], value::own_values_of for
Object.values(parameters)).
Aliased Type§
pub struct FunctionTransformFn { /* private fields */ }