Current section

Files

Jump to
udia assets node_modules mout random randBit.js
Raw

assets/node_modules/mout/random/randBit.js

var randBool = require('./randBool');
/**
* Returns random bit (0 or 1)
*/
function randomBit() {
return randBool()? 1 : 0;
}
module.exports = randomBit;