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

Function isParseObjectConstructor

src/cloud-code/Parse.Cloud.js:6–8  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

4const Config = require('../Config');
5
6function isParseObjectConstructor(object) {
7 return typeof object === 'function' && Object.prototype.hasOwnProperty.call(object, 'className');
8}
9
10function validateValidator(validator) {
11 if (!validator || typeof validator === 'function') {

Callers 1

Parse.Cloud.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected