Type guard: detect whether a type is a plain object.
Type to test
Excludes primitives, functions, arrays and tuples by checking structural constraints to identify plain object types.
type A = IsObject< { a: number } >; // truetype B = IsObject< number[] >; // false Copy
type A = IsObject< { a: number } >; // truetype B = IsObject< number[] >; // false
Type guard: detect whether a type is a plain object.