Represents an integer type.
This type is used to ensure that a numeric value is an integer.
Example use case:
exportfunctionmyFunc<TextendsNumeric>(a: Integer<T>) { console.log(a); } constgood = myFunc(4545); // This is valid as 4545 is an integer. constbad = myFunc(4545.554); // This will throw an error as 4545.554 is not an integer.
Represents an integer type. This type is used to ensure that a numeric value is an integer.
Example use case: