Skip to content

micro-js/string-is-boolean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

string-is-boolean

Build status Git tag NPM version Code style

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

About

Check if string looks like a boolean.

Resources

Stars

Watchers

Forks

Packages

No packages published