Cotal TypeScript packages
    Preparing search index...

    Function askSchemaShape

    • Read a schema as the shorthand, or return null for one this contract cannot read. A handler that enforces the shorthand refuses an unreadable schema (L4022) rather than skipping it: a schema the program wrote and nobody checks is worse than a loud refusal.

      Parameters

      • schema: unknown

      Returns Readonly<Record<string, AskFieldKind>> | null