MCPcopy Index your code
hub / github.com/volcengine/OpenViking / hasOwn

Function hasOwn

examples/codex-memory-plugin/scripts/config.mjs:67–69  ·  view source on GitHub ↗
(obj, key)

Source from the content-addressed store, hash-verified

65}
66
67function hasOwn(obj, key) {
68 return Object.prototype.hasOwnProperty.call(obj || {}, key);
69}
70
71function normalizeAuthMode(val) {
72 const mode = str(val, "").toLowerCase();

Callers 1

loadConfigFunction · 0.85

Calls 1

callMethod · 0.80

Tested by

no test coverage detected