MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / isSyncMethodName

Function isSyncMethodName

src/common/browser.js:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 const MESSAGE = 'message';
13 const STACK = 'stack';
14 const isSyncMethodName = key => key === kAddListener
15 || key === kRemoveListener
16 || key === 'hasListener'
17 || key === 'hasListeners';
18 /** API types or enums or literal constants */
19 const proxifyValue = (target, key, src, metaVal) => {
20 const srcVal = src[key];

Callers 1

proxifyValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected