Sha256: 55f1437e86c3ab73225873cf018b3ebcead61de90a89e4e945ba4541238e8c90
Contents?: true
Size: 224 Bytes
Versions: 19
Compression:
Stored size: 224 Bytes
Contents
var toPositiveInteger = require('../internals/to-positive-integer'); module.exports = function (it, BYTES) { var offset = toPositiveInteger(it); if (offset % BYTES) throw RangeError('Wrong offset'); return offset; };
Version data entries
19 entries across 18 versions & 6 rubygems