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

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