Type Alias $<T, $O>

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

🧰 type util

Validate if T is bigint or bigint literals.

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

Type Parameters