34 lines
488 B
Markdown
34 lines
488 B
Markdown
# Booler: Convert any values to Boolean.
|
|
|
|
Convert string/values to Boolean in JavaScript.
|
|
|
|
## Installing
|
|
|
|
```shell
|
|
$ npm i booler.js --save
|
|
```
|
|
|
|
## Example
|
|
|
|
```js
|
|
const booler = require('booler')
|
|
|
|
console.log(booler('f')) // return false
|
|
console.log(booler('t')) // return true
|
|
```
|
|
|
|
## Run Test
|
|
|
|
```shell
|
|
$ npm run test
|
|
```
|
|
|
|
## Contribution
|
|
|
|
if you any ideas or concepts, please kindly provide and support with us.
|
|
|
|
### Author
|
|
|
|
Name: <b>Sambo Chea</b> <br/>
|
|
Email: sombochea@cubetiqs.com
|