Type Alias $<T, $O>

$: $ResolveOptions<[$O["exact"], $ExactDefault]> extends true
    ? $IsDistributive<
        $O,
        { $else: IsNotObject._N<T, $O>; $then: IsNotObject._D<T, $O> },
    >
    : NotAssignable.$<T, object, $O>

🧰 type util

Validate if T is object or object literals.

This is a type util for building custom types. It does not check against special types.

Type Parameters