object-shape-tester - v6.9.2
    Preparing search index...

    Function matchesSchemaGuard

    • Checks if a schema guard matches the schema or a part of the schema's union.

      Type Parameters

      • T extends TSchema

      Parameters

      • schema: TSchema
      • guard: (schema: TSchema) => schema is T

      Returns schema is T