epiphany/node_modules/hasown/index.js
2023-12-09 22:19:03 -08:00

8 lines
234 B
JavaScript

'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);