Sha256: abbea0817f444c8e1484006a3f3c8be683ae9897acde4c265bf0c2ffd7ae2126
Contents?: true
Size: 269 Bytes
Versions: 46
Compression:
Stored size: 269 Bytes
Contents
"use strict"; var toShortString = require("../to-short-string-representation") , isInteger = require("./is-integer"); module.exports = function (num) { if (!isInteger(num)) throw new TypeError(toShortString(num) + " is not a integer"); return Number(num); };
Version data entries
46 entries across 46 versions & 2 rubygems