Type Alias $<T, $O>

$<T, $O>: $ResolveOptions<[$O["exact"], $ExactDefault]> extends true
    ? $IsDistributive<$O, {
        $else: IsBoolean._N<T, $O>;
        $then: IsBoolean._SD<T, $O>;
    }>
    : Assignable.$<T, boolean, $O>

🧰 type util

Validate if T is boolean or boolean literals.

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

Type Parameters