Sha256: b2d75ff9ca53359687df34f2fcf65c74f723dcf444e5218f89431b573716b9cd
Contents?: true
Size: 324 Bytes
Versions: 69
Compression:
Stored size: 324 Bytes
Contents
/** * "Convert" value into a 32-bit unsigned integer. * IMPORTANT: Value will wrap at 2^32. */ function toUInt(val){ // we do not use lang/toNumber because of perf and also because it // doesn't break the functionality return val >>> 0; } module.exports = toUInt;
Version data entries
69 entries across 69 versions & 2 rubygems