UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

11 lines (10 loc) 319 B
export default baseToNumber; /** * The base implementation of `toNumber` which doesn't ensure correct * conversions of binary, hexadecimal, or octal string values. * * @private * @param {*} value The value to process. * @returns {number} Returns the number. */ declare function baseToNumber(value: any): number;