MCPcopy
hub / github.com/parse-community/parse-server / arrayContains

Function arrayContains

spec/helper.js:330–332  ·  view source on GitHub ↗
(arr, item)

Source from the content-addressed store, hash-verified

328
329// Because node doesn't have Parse._.contains
330function arrayContains(arr, item) {
331 return -1 != arr.indexOf(item);
332}
333
334// Normalizes a JSON object.
335function normalize(obj) {

Callers 2

ParseQuery.spec.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected