forked from sombochea/booler
Convert string to Boolean in JavaScript.
src | ||
test | ||
.gitignore | ||
index.js | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md |
Booler: Convert any values to Boolean.
Convert string/values to Boolean in JavaScript.
Installing
Example
const booler = require('booler')
console.log(booler('f')) // return false
console.log(booler('t')) // return true
Run Test
$ npm run test