ComparisonEvaluationResult constructor

ComparisonEvaluationResult(result)

Creates a comparison evaluation result.

def __init__(self, result: bool):
    ...
ParameterTypeDescription
resultbool

ComparisonEvaluationResult(error_message)

Creates a failed comparison evaluation result with the corresponding error message.

def __init__(self, error_message: str):
    ...
ParameterTypeDescription
error_messagestr

See Also