Skip to content

Commit 058b2d1

Browse files
authored
Update QueryTools.js
1 parent f73d09d commit 058b2d1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/LiveQuery/QueryTools.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,7 @@ function queryHash(query) {
9090
}
9191

9292
/**
93-
* contains -- Determines whether a constraint in the form of a list
94-
* contains a particular object.
95-
* If the compared to object is a pointer it will match either full pointers
96-
* or string (objectId)
97-
* Otherwise it will use a simple indexOf.
93+
* contains -- Determines if an object is contained in a list with special handling for Parse pointers.
9894
*/
9995
function contains(haystack: Array, needle: any): boolean {
10096
if (needle && needle.__type && needle.__type === 'Pointer') {

0 commit comments

Comments
 (0)