Comparing version 0.1.0 to 0.1.2
# {%= name %} {%= badge("fury") %} | ||
> {%= description %} | ||
@@ -29,3 +28,3 @@ | ||
## Install | ||
{%= include("install") %} | ||
{%= include("install-npm", {save: true}) %} | ||
@@ -32,0 +31,0 @@ ## Run tests |
@@ -23,2 +23,3 @@ /*! | ||
// object key | ||
if (typeof fn === 'string') { | ||
@@ -45,3 +46,3 @@ if (value.hasOwnProperty(fn)) { | ||
// objects | ||
// object properties/values | ||
} else { | ||
@@ -48,0 +49,0 @@ forOwn(value, function (val, key) { |
{ | ||
"name": "any", | ||
"description": "Checks if the callback returns a truthy value for any element in a collection, or for any sub-string in a string. The function returns as soon as it finds a passing value and does not iterate over the entire collection. ", | ||
"version": "0.1.0", | ||
"description": "Returns `true` if a value exists in the given string, array or object, or if a callback is passed checks to see if a truthy value is returned for any element in a collection or for any sub-string in a string. The function returns as soon as it finds a passing value and does not iterate over the entire collection.", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/jonschlinkert/any", | ||
@@ -34,3 +34,3 @@ "author": { | ||
"verb": ">= 0.2.6", | ||
"verb-tag-jscomments": ">= 0.2.0" | ||
"verb-tag-jscomments": "^0.2.2" | ||
}, | ||
@@ -87,2 +87,2 @@ "keywords": [ | ||
} | ||
} | ||
} |
# any [](http://badge.fury.io/js/any) | ||
> Returns `true` if a value exists in the given string, array or object, or if a callback is passed checks to see if a truthy value is returned for any element in a collection or for any sub-string in a string. The function returns as soon as it finds a passing value and does not iterate over the entire collection. | ||
> Checks if the callback returns a truthy value for any element in a collection, or for any sub-string in a string. The function returns as soon as it finds a passing value and does not iterate over the entire collection. | ||
## Usage | ||
@@ -30,6 +29,6 @@ | ||
## Install | ||
#### Install with [npm](npmjs.org): | ||
#### Install with [npm](npmjs.org) | ||
```bash | ||
npm i any --save-dev | ||
npm i any --save | ||
``` | ||
@@ -56,2 +55,2 @@ | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on October 08, 2014._ | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on November 04, 2014._ |
14229
11
282
54