Permalink
Browse files

docs

  • Loading branch information...
tj committed Sep 30, 2012
1 parent c917876 commit ad2756357c44f4e3c8de919e33bf5d82a71d871f
Showing with 10 additions and 0 deletions.
  1. +10 −0 Readme.md
View
@@ -17,8 +17,18 @@
var tobi = find(users, function(u){ return u.name == 'Tobi' });
```
+### find(array, string)
+
+ Find with property strings:
+
+```js
+find(users, 'admin');
+```
+
### find(array, object)
+ Find with object value matching:
+
```js
var users = [];
users.push({ name: 'Tobi', age: 2, species: 'ferret' });

0 comments on commit ad27563

Please sign in to comment.