CoolFace
Apppublic

strong-tie/inbound-calls

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
README.md41 linesDownload Raw Back to gopd
1# gopd <sup>[![Version Badge][npm-version-svg]][package-url]</sup>2 3[![github actions][actions-image]][actions-url]4[![coverage][codecov-image]][codecov-url]5[![License][license-image]][license-url]6[![Downloads][downloads-image]][downloads-url]7 8[![npm badge][npm-badge-png]][package-url]9 10`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.11 12## Usage13 14```javascript15var gOPD = require('gopd');16var assert = require('assert');17 18if (gOPD) {19	assert.equal(typeof gOPD, 'function', 'descriptors supported');20	// use gOPD like Object.getOwnPropertyDescriptor here21} else {22	assert.ok(!gOPD, 'descriptors not supported');23}24```25 26[package-url]: https://npmjs.org/package/gopd27[npm-version-svg]: https://versionbadg.es/ljharb/gopd.svg28[deps-svg]: https://david-dm.org/ljharb/gopd.svg29[deps-url]: https://david-dm.org/ljharb/gopd30[dev-deps-svg]: https://david-dm.org/ljharb/gopd/dev-status.svg31[dev-deps-url]: https://david-dm.org/ljharb/gopd#info=devDependencies32[npm-badge-png]: https://nodei.co/npm/gopd.png?downloads=true&stars=true33[license-image]: https://img.shields.io/npm/l/gopd.svg34[license-url]: LICENSE35[downloads-image]: https://img.shields.io/npm/dm/gopd.svg36[downloads-url]: https://npm-stat.com/charts.html?package=gopd37[codecov-image]: https://codecov.io/gh/ljharb/gopd/branch/main/graphs/badge.svg38[codecov-url]: https://app.codecov.io/gh/ljharb/gopd/39[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/gopd40[actions-url]: https://github.com/ljharb/gopd/actions41