Skip to main content

check_params

Function check_params 

Source
pub fn check_params(p: &Value, m: &Macro) -> Result<()>
Expand description

Refuses run parameters that would otherwise be ignored: an input the macro doesn’t have, an input given as something other than reference text, onConflict, overwrite, approve or timeLimit of the wrong kind, and an output that isn’t reference text of at most MAX_MACRO_REF characters (null counts as not given).