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

    Type Alias IsNullableSchema<T>

    IsNullableSchema: IsNullable<ShapeInitType<T>> extends true
        ? true
        : T extends TNull
            ? true
            : T extends TUndefined
                ? true
                : T[typeof OptionalKind] extends "Optional" ? true : false

    Checks if a schema is possibly undefined, null, or optional. any is included.

    Type Parameters

    • T extends TSchema