MCPcopy Index your code
hub / github.com/dresende/node-orm2 / optsChecker

Function optsChecker

lib/ORM.js:38–40  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

36exports.ErrorCodes = ORMError.codes;
37
38var optsChecker = function (opts) {
39 return [OPTS_TYPE_STRING, OPTS_TYPE_OBJ].some(function (element) { return typeof(opts) === element })
40};
41
42var fileLoader = function (filePaths, cb) {
43 var self = this;

Callers 1

ORM.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected