AeThex-Engine-Core/services/auth-service/node_modules/gopd
mrpiglr 190b6b2eab
Some checks are pending
Build AeThex Engine / build-windows (push) Waiting to run
Build AeThex Engine / build-linux (push) Waiting to run
Build AeThex Engine / build-macos (push) Waiting to run
Build AeThex Engine / create-release (push) Blocked by required conditions
Deploy Docsify Documentation / build (push) Waiting to run
Deploy Docsify Documentation / deploy (push) Blocked by required conditions
chore: sync local changes to Forgejo
2026-03-13 00:37:06 -07:00
..
.github chore: sync local changes to Forgejo 2026-03-13 00:37:06 -07:00
test chore: sync local changes to Forgejo 2026-03-13 00:37:06 -07:00
.eslintrc chore: sync local changes to Forgejo 2026-03-13 00:37:06 -07:00
CHANGELOG.md chore: sync local changes to Forgejo 2026-03-13 00:37:06 -07:00
gOPD.d.ts chore: sync local changes to Forgejo 2026-03-13 00:37:06 -07:00
gOPD.js chore: sync local changes to Forgejo 2026-03-13 00:37:06 -07:00
index.d.ts chore: sync local changes to Forgejo 2026-03-13 00:37:06 -07:00
index.js chore: sync local changes to Forgejo 2026-03-13 00:37:06 -07:00
LICENSE chore: sync local changes to Forgejo 2026-03-13 00:37:06 -07:00
package.json chore: sync local changes to Forgejo 2026-03-13 00:37:06 -07:00
README.md chore: sync local changes to Forgejo 2026-03-13 00:37:06 -07:00
tsconfig.json chore: sync local changes to Forgejo 2026-03-13 00:37:06 -07:00

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');
}