$<T, $O>: $IsDistributive<$O, { $else: [T] extends [readonly any[]] ? number extends T["length"] ? $ResolveBranch<T, $O, [$Then]> : $ResolveBranch<T, $O, [$Else]> : $ResolveBranch<T, $O, [$Then]>; $then: T extends readonly any[] ? number extends T["length"] ? $ResolveBranch<T, $O, [$Then]> : $ResolveBranch<T, $O, [$Else]> : $ResolveBranch<T, $O, [$Then]>; }>
🧰 type util
Validate if
T
isbigint
orbigint
literals.This is a type util for building custom types. It does not check against special types.