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