Number
大约 1 分钟
Number
模块
类型
interface Number {
toExponential(digits: number): string;
toFixed(digits: number): string;
toPrecision(precision: number): string;
EPSILON: number;
MAX_SAFE_INTEGER: number;
MIN_SAFE_INTEGER: number;
}
interface numberConstructor {
new (value: any): number;
isFinite(number: any): boolean;
isNaN(number: any): boolean;
isInteger(number: any): boolean;
isSafeInteger(number: any): boolean;
parseFloat(string: string): number;
/** @param radix @default 10 */
parseInt(string: string, radix?: number): number;
}
function parseFloat(string: string): number;
/** @param radix @default 10 */
function parseInt(string: string, radix?: number): number;
入口点
core-js(-pure)/es|stable|actual|full/number
core-js/es|stable|actual|full/number/constructor
core-js(-pure)/es|stable|actual|full/number/is-finite
core-js(-pure)/es|stable|actual|full/number/is-nan
core-js(-pure)/es|stable|actual|full/number/is-integer
core-js(-pure)/es|stable|actual|full/number/is-safe-integer
core-js(-pure)/es|stable|actual|full/number/parse-float
core-js(-pure)/es|stable|actual|full/number/parse-int
core-js(-pure)/es|stable|actual|full/number/epsilon
core-js(-pure)/es|stable|actual|full/number/max-safe-integer
core-js(-pure)/es|stable|actual|full/number/min-safe-integer
core-js(-pure)/es|stable|actual|full/number(/virtual)/to-exponential
core-js(-pure)/es|stable|actual|full/number(/virtual)/to-fixed
core-js(-pure)/es|stable|actual|full/number(/virtual)/to-precision
core-js(-pure)/es|stable|actual|full/parse-float
core-js(-pure)/es|stable|actual|full/parse-int