Validates if the given output contains exactly 10 consecutive digits, representing a standard phone number format.
input
: The original input text or dataoutput
: The string to validate for a 10-digit phone numberexpectedOutput
: 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
.