mirror of
https://github.com/actions/setup-python.git
synced 2024-11-26 19:05:21 +01:00
239 B
239 B
has
Object.prototype.hasOwnProperty.call shortcut
Installation
npm install --save has
Usage
var has = require('has');
has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true