Type alias EvenNumeric<T>

EvenNumeric<T>: IfExtends<StringifyPrimitive<T>, `${Numeric | ""}${2 | 4 | 6 | 8 | 0}`, T, never>

Represents an even numeric

Type Parameters

Example

Even<200000000000000>; // 258796
Even<258796>; // 258796
Even<2000000000000001>; // never