Result of expression evaluation including success status and diagnostics

interface ExpressionEvaluationResult {
    diagnostics?: {
        context: Record<string, any>;
        evaluationTime: number;
        expression: string;
    };
    error?: string;
    success: boolean;
    value?: boolean;
}

Properties

diagnostics?: {
    context: Record<string, any>;
    evaluationTime: number;
    expression: string;
}

Type declaration

  • context: Record<string, any>
  • evaluationTime: number
  • expression: string
error?: string
success: boolean
value?: boolean