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

Method validateAllowClientClassCreation

src/Config.js:256–260  ·  view source on GitHub ↗
(allowClientClassCreation)

Source from the content-addressed store, hash-verified

254 }
255
256 static validateAllowClientClassCreation(allowClientClassCreation) {
257 if (typeof allowClientClassCreation !== 'boolean') {
258 throw 'Parse Server option allowClientClassCreation must be a boolean.';
259 }
260 }
261
262 static validateSecurityOptions(security) {
263 if (Object.prototype.toString.call(security) !== '[object Object]') {

Callers 1

validateOptionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected