MCPcopy Create free account
hub / github.com/parse-community/parse-server / booleanParser

Function booleanParser

src/Options/parsers.js:64–69  ·  view source on GitHub ↗
(opt)

Source from the content-addressed store, hash-verified

62}
63
64function booleanParser(opt) {
65 if (opt == true || opt == 'true' || opt == '1') {
66 return true;
67 }
68 return false;
69}
70
71function booleanOrFunctionParser(opt) {
72 if (typeof opt === 'function') {

Callers 1

booleanOrFunctionParserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…