Sha256: d2c8f7d4afc24737ac7e27bd2a9916a721d5520a6fc5f2d5a17a3d61eaa5952a
Contents?: true
Size: 209 Bytes
Versions: 19
Compression:
Stored size: 209 Bytes
Contents
var toInteger = require('../internals/to-integer'); module.exports = function (it) { var result = toInteger(it); if (result < 0) throw RangeError("The argument can't be less than 0"); return result; };
Version data entries
19 entries across 18 versions & 7 rubygems