We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f73d09d commit 058b2d1Copy full SHA for 058b2d1
src/LiveQuery/QueryTools.js
@@ -90,11 +90,7 @@ function queryHash(query) {
90
}
91
92
/**
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.
+ * contains -- Determines if an object is contained in a list with special handling for Parse pointers.
98
*/
99
function contains(haystack: Array, needle: any): boolean {
100
if (needle && needle.__type && needle.__type === 'Pointer') {
0 commit comments