Type Alias $<T, $O>

$: $IsDistributive<
    $O,
    { $else: IsNumberLiteral._N<T, $O>; $then: IsNumberLiteral._D<T, $O> },
>

🧰 type util

Validate if T is number literals.

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

Type Parameters