Convert string to Boolean in JavaScript.
src | ||
test | ||
.gitignore | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md |
Booler: Convert any values to Boolean.
Convert string/values to Boolean in JavaScript.
Installing
$ npm i boolerjs --save
Example
const booler = require('boolerjs')
console.log(booler('f')) // return false
console.log(booler('t')) // return true
Run Test
$ npm run test
Contribution
if you any ideas or concepts, please kindly provide and support with us.
Author
Name: Sambo Chea
Email: sombochea@cubetiqs.com