1.0.1 • Published 8 years ago
string-some v1.0.1
#string-some
Install
$ npm install string-some
Example
const some = require("string-some");
some("aBc", function(ch){return ch === ch.toUpperCase();}); // true
some("abc", function(ch){return ch === ch.toUpperCase();}); // false
some("123", isNaN); // false
some("1a3", isNaN); // true
Test
$ npm install
$ npm test