UNPKG

meteor-node-stubs

Version:

Stub implementations of Node built-in modules, a la Browserify

9 lines (6 loc) 234 B
'use strict'; var call = Function.prototype.call; var $hasOwn = Object.prototype.hasOwnProperty; var bind = require('function-bind'); /** @type {(o: {}, p: PropertyKey) => p is keyof o} */ module.exports = bind.call(call, $hasOwn);