Cotal TypeScript packages
    Preparing search index...

    Type Alias Check<T>

    Check:
        | { ok: true; value: T }
        | { code?: RefusalCode; message: string; ok: false; remedy?: string }

    A rule's verdict: the value it produced, or the operator-facing sentence explaining the refusal and, where the rule knows them, the stable code a structured refusal carries and what to run next.

    Type Parameters

    • T