UNPKG

fictional

Version:

Generate fake data deterministically from a given input

6 lines (4 loc) 101 B
var hash = require('./hash') module.exports = function bool(input) { return !!(hash(input) % 2) }