Lukas Goldschmidt c573c3aed2 Init mem0 python plugin with knowledge tools 1 mēnesi atpakaļ
..
.github c573c3aed2 Init mem0 python plugin with knowledge tools 1 mēnesi atpakaļ
test c573c3aed2 Init mem0 python plugin with knowledge tools 1 mēnesi atpakaļ
.eslintrc c573c3aed2 Init mem0 python plugin with knowledge tools 1 mēnesi atpakaļ
CHANGELOG.md c573c3aed2 Init mem0 python plugin with knowledge tools 1 mēnesi atpakaļ
LICENSE c573c3aed2 Init mem0 python plugin with knowledge tools 1 mēnesi atpakaļ
README.md c573c3aed2 Init mem0 python plugin with knowledge tools 1 mēnesi atpakaļ
gOPD.d.ts c573c3aed2 Init mem0 python plugin with knowledge tools 1 mēnesi atpakaļ
gOPD.js c573c3aed2 Init mem0 python plugin with knowledge tools 1 mēnesi atpakaļ
index.d.ts c573c3aed2 Init mem0 python plugin with knowledge tools 1 mēnesi atpakaļ
index.js c573c3aed2 Init mem0 python plugin with knowledge tools 1 mēnesi atpakaļ
package.json c573c3aed2 Init mem0 python plugin with knowledge tools 1 mēnesi atpakaļ
tsconfig.json c573c3aed2 Init mem0 python plugin with knowledge tools 1 mēnesi atpakaļ

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