21 lines
282 B
Markdown
21 lines
282 B
Markdown
# Booler: Convert any values to Boolean.
|
|
|
|
Convert string/values to Boolean in JavaScript.
|
|
|
|
# Installing
|
|
|
|
# Example
|
|
|
|
```js
|
|
const booler = require('booler')
|
|
|
|
console.log(booler('f')) // return false
|
|
console.log(booler('t')) // return true
|
|
```
|
|
|
|
# Run Test
|
|
|
|
```shell
|
|
$ npm run test
|
|
```
|