work.suroh.tk/node_modules/resolve/lib/is-core.js

6 lines
130 B
JavaScript

var core = require('./core');
module.exports = function isCore(x) {
return Object.prototype.hasOwnProperty.call(core, x);
};