5
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2025-12-27 12:08:17 +00:00
setup-python/node_modules/has
Stephen Franceschelli ec0a863019 Fix.
2019-07-30 13:16:01 -04:00
..
src Fix. 2019-07-30 13:16:01 -04:00
test Fix. 2019-07-30 13:16:01 -04:00
LICENSE-MIT Fix. 2019-07-30 13:16:01 -04:00
package.json Fix. 2019-07-30 13:16:01 -04:00
README.md Fix. 2019-07-30 13:16:01 -04:00

has

Object.prototype.hasOwnProperty.call shortcut

Installation

npm install --save has

Usage

var has = require('has');

has({}, 'hasOwnProperty'); // false
has(Object.prototype, 'hasOwnProperty'); // true