Lukas Goldschmidt c573c3aed2 Init mem0 python plugin with knowledge tools hace 1 mes
..
.github c573c3aed2 Init mem0 python plugin with knowledge tools hace 1 mes
test c573c3aed2 Init mem0 python plugin with knowledge tools hace 1 mes
.eslintrc c573c3aed2 Init mem0 python plugin with knowledge tools hace 1 mes
CHANGELOG.md c573c3aed2 Init mem0 python plugin with knowledge tools hace 1 mes
LICENSE c573c3aed2 Init mem0 python plugin with knowledge tools hace 1 mes
README.md c573c3aed2 Init mem0 python plugin with knowledge tools hace 1 mes
gOPD.d.ts c573c3aed2 Init mem0 python plugin with knowledge tools hace 1 mes
gOPD.js c573c3aed2 Init mem0 python plugin with knowledge tools hace 1 mes
index.d.ts c573c3aed2 Init mem0 python plugin with knowledge tools hace 1 mes
index.js c573c3aed2 Init mem0 python plugin with knowledge tools hace 1 mes
package.json c573c3aed2 Init mem0 python plugin with knowledge tools hace 1 mes
tsconfig.json c573c3aed2 Init mem0 python plugin with knowledge tools hace 1 mes

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