Type Alias NonNullObject<T>

NonNullObject: Exclude<
    T & object,
    ((...args: any[]) => any)
    | (abstract new (...args: any[]) => any),
>

Extracts the non-null, non-callable object members of T.

This includes arrays, ordinary objects, class instances, boxed primitives, and specialized built-in objects. Primitive, nullish, callable, and constructable members are excluded.

Type Parameters

  • T

    Type whose non-null object members are extracted.