UNPKG

random-boolean

Version:
5 lines (4 loc) 78 B
'use strict'; module.exports = function () { return Math.random() >= 0.5; };