Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm authored Jun 5, 2022
1 parent ecabf42 commit ee8834b
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 @@ -106,7 +106,7 @@ When a `parent` node is given the `index` of node should also be given.

* `node` ([`Node`][node]) — node to check
* `test` ([`Function`][test], `string`, `Object`, or `Array<Test>`, optional)
Check.
— check:
* when nullish, checks if `node` is a [`Node`][node]
* when `string`, works like passing `node => node.type === test`
* when `array`, checks if any one of the subtests pass
Expand Down

0 comments on commit ee8834b

Please sign in to comment.