3
0
Fork 0
mirror of https://gitea.com/actions/setup-python.git synced 2024-11-25 19:49:35 +01:00
setup-python/node_modules/has
Danny McCormick 39c08a0eaa Initial pass
2019-06-26 21:12:00 -04:00
..
src Initial pass 2019-06-26 21:12:00 -04:00
test Initial pass 2019-06-26 21:12:00 -04:00
LICENSE-MIT Initial pass 2019-06-26 21:12:00 -04:00
package.json Initial pass 2019-06-26 21:12:00 -04:00
README.md Initial pass 2019-06-26 21:12:00 -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