ConditionResult
Represents the result of evaluating a specific condition in a system or workflow. This sealed interface allows for expressing various outcomes of a condition check.
Implementations:
Approve: Indicates that the condition was approved.
Reject: Indicates that the condition was rejected, optionally with feedback.
Inheritors
Types
Properties
Link copied to clipboard
Indicates whether the current instance of ConditionResult represents a successful state. Returns true
if the instance is of type Approve, signifying success. Otherwise, returns false
.