Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit b9d2b30

Browse files
Rodrigogkalpak
Rodrigo
authored andcommitted
docs(filterFilter): clarify the comparator parameter
Closes #15827
1 parent 3d0abff commit b9d2b30

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ng/filter/filter.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@
4545
* The final result is an array of those elements that the predicate returned true for.
4646
*
4747
* @param {function(actual, expected)|true|false} [comparator] Comparator which is used in
48-
* determining if the expected value (from the filter expression) and actual value (from
49-
* the object in the array) should be considered a match.
48+
* determining if values retrieved using `expression` (when it is not a function) should be
49+
* considered a match based on the the expected value (from the filter expression) and actual
50+
* value (from the object in the array).
5051
*
5152
* Can be one of:
5253
*

0 commit comments

Comments
 (0)