Type Alias $<T, $O>

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

🧰 type util

Validate if T is not boolean nor boolean literals. r This is a type util for building custom types. It does not check against special types.

Type Parameters