string-some

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i string-some

Weekly Downloads

346

Version

1.0.1

License

MIT

Last publish

Collaborators

  • darrenlester