npm.io
1.0.2 • Published 11 years ago

booly

Licence
MIT
Version
1.0.2
Deps
1
Vulns
0
Weekly
0

booly

Convert numerous value types to booleans

Install

npm install booly --save

Usage

var booly = require('booly');

console.log(booly(1)) // true
console.log(booly('true')) // true

console.log(booly('false')) // false

console.log(booly('some string')) // some string

Run Tests

npm install
npm test

Keywords