/** * Type guard that narrows a `SchemaObject` to the variant whose `type` is * `'null'`. * * The `'null'` type was introduced in OpenAPI 3.1 (aligning with JSON Schema * 2020-12). In OpenAPI 3.0, nullability is expressed via `nullable: true`, * not via `type: 'null'`. * * Works with `SchemaObject` types from OpenAPI 3.1 and 3.2. */ export declare const isNullSchema: (schema: T) => schema is [Extract] extends [never] ? T & { type: "null"; } : Extract; //# sourceMappingURL=is-null-schema.d.ts.map