MCPcopy Index your code
hub / github.com/parse-community/parse-server / isLockableAuthDataValue

Function isLockableAuthDataValue

src/AuthDataLock.js:35–47  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

33}
34
35function isLockableAuthDataValue(value) {
36 if (value === null || value === undefined) {
37 return false;
38 }
39 const t = typeof value;
40 if (t === 'string' || t === 'number' || t === 'boolean') {
41 return true;
42 }
43 if (Array.isArray(value)) {
44 return true;
45 }
46 return false;
47}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected