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
$ npm i booler --save
Example
const booler = require('booler')
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