Convert string to Boolean in JavaScript.
Go to file
2019-10-31 09:17:23 +07:00
src add booler function and exports 2019-10-31 09:03:22 +07:00
test add booler function and exports 2019-10-31 09:03:22 +07:00
.gitignore Initial commit 2019-10-31 08:14:38 +07:00
index.js add booler function and exports 2019-10-31 09:03:22 +07:00
LICENSE Initial commit 2019-10-31 08:14:38 +07:00
package-lock.json add booler function and exports 2019-10-31 09:03:22 +07:00
package.json updated version 2019-10-31 09:17:23 +07:00
README.md update readme 2019-10-31 09:14:06 +07:00

Booler: Convert any values to Boolean.

Convert string/values to Boolean in JavaScript.

Installing

$ npm i booler.js --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