Runs parameter validation by matching the input parameters to Zod schemas generated from the parameter data from
docs/parameterData.json
.Examples
Syntax
validate(func, args)
Parameters
func
String: Name of the function.
args
Array: User input arguments.
Returns
Object: The validation result.
Notice any errors or typos? Please let us know. Please feel free to edit src/core/friendly_errors/param_validator.js and open a pull request!