Skip to content
This repository was archived by the owner on Dec 4, 2018. It is now read-only.

Commit 8e2683c

Browse files
author
James Halliday
committed
update docs for booleans and functions
1 parent 8688893 commit 8e2683c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

readme.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ req.pipe(parser).pipe(logger)
3838

3939
usally, a json API will return a list of objects.
4040

41-
`path` should be an array of property names and/or `RedExp`s.
41+
`path` should be an array of property names, `RegExp`s, booleans, and/or functions.
4242
any object that matches the path will be emitted as 'data' (and `pipe`d down stream)
4343

4444
if `path` is empty or null, or if no matches are made:

0 commit comments

Comments
 (0)