curaflow/node_modules/gopd
Deep Koluguri 6058f9a862
Build Curio HMS / build-and-deploy (push) Successful in 48s Details
feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys
2026-05-23 11:27:26 -04:00
..
.github feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
test feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
.eslintrc feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
CHANGELOG.md feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
LICENSE feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
README.md feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
gOPD.d.ts feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
gOPD.js feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
index.d.ts feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
index.js feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
package.json feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00
tsconfig.json feat: implement Zen 4.0 Focus-First layout with SOAP notes and hotkeys 2026-05-23 11:27:26 -04:00

README.md

gopd Version Badge

github actions coverage License Downloads

npm badge

Object.getOwnPropertyDescriptor, but accounts for IE's broken implementation.

Usage

var gOPD = require('gopd');
var assert = require('assert');

if (gOPD) {
	assert.equal(typeof gOPD, 'function', 'descriptors supported');
	// use gOPD like Object.getOwnPropertyDescriptor here
} else {
	assert.ok(!gOPD, 'descriptors not supported');
}