1.0.0 • Published 8 years ago
@f/string-is-boolean v1.0.0
string-is-boolean
Check if string looks like a boolean.
Installation
$ npm install @f/string-is-boolean
Usage
var stringIsBoolean = require('@f/string-is-boolean')
stringIsBoolean('true') // => true
API
stringIsBoolean(val)
val
- string to check
Returns: boolean
License
MIT
1.0.0
8 years ago