Files
manja_dev_ui/node_modules/gopd
sean cc038a7372
NPM Installation / build (16.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (16.x, windows-latest) (push) Has been cancelled
NPM Installation / build (17.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (17.x, windows-latest) (push) Has been cancelled
NPM Installation / build (18.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (18.x, windows-latest) (push) Has been cancelled
Base UI
2026-06-25 11:15:13 +07:00
..
2026-06-25 11:15:13 +07:00
2026-06-25 11:15:13 +07:00
2026-06-25 11:15:13 +07:00
2026-06-25 11:15:13 +07:00
2026-06-25 11:15:13 +07:00
2026-06-25 11:15:13 +07:00
2026-06-25 11:15:13 +07:00
2026-06-25 11:15:13 +07:00
2026-06-25 11:15:13 +07:00
2026-06-25 11:15:13 +07:00
2026-06-25 11:15:13 +07:00
2026-06-25 11:15:13 +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');
}