UNPKG

missing-native-js-functions

Version:

mnJSf that should be the base library for every JS project

14 lines (13 loc) 321 B
declare global { interface Number { /** * Converts the current number to an integer (rounds up) * @returns {number} rounded number * @example * 5102.039.toInt() // returns: 5102 * 0.039.toInt() // returns: 0 */ toInt(): number; } } export {};