Input
input: The original input text or dataoutput: The string to check for URLsexpectedOutput: The expected output to compare against.
- Any of the input variables (
input,output,expectedOutput) can be marked as optional. - The returned value from the
validatefunction can be a boolean, string, or a number.
Output
Result: Boolean (trueorfalse) | string | number
Interpretation
Assuming this evaluator returns a boolean
- true: One or more valid URLs were detected
- false: No valid URLs were found
This evaluator requires a function named
validate.