Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksey Podskrebyshev committed Jan 13, 2015
1 parent 8717565 commit 2623542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ You will be able to change direction in the future versions of the library.
var result = test.some(callback);
```

- `callback**: Function to test each node of the tree. Node passes the test if this function returns `true` value (or value that can be interpreted as `true`). Otherwise node failes, and traversing is interrupted. It has following arguments:
- `callback`: Function to test each node of the tree. Node passes the test if this function returns `true` value (or value that can be interpreted as `true`). Otherwise node failes, and traversing is interrupted. It has following arguments:
- `value`: Value of the current node.
- `key`: Key of the current node.
- `tree`: Tree is being processed.
Expand Down

0 comments on commit 2623542

Please sign in to comment.