Validates if a string matches supported date formats and is a valid calendar date.
input
: The original input text or dataoutput
: The date string to validateexpectedOutput
: The expected output to compare against.input
, output
, expectedOutput
) can be marked as optional.validate
function can be a boolean, string, or a number.Result
: Boolean (true
or false
) | string | numberAssuming this evaluator returns a boolean
validate
.