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

Method getMessage

scripts/i18n.js:46–49  ·  view source on GitHub ↗
(key, def)

Source from the content-addressed store, hash-verified

44 }
45
46 getMessage(key, def) {
47 const item = this.data[key];
48 return item && item.message || def;
49 }
50
51 get(key) {
52 return this.data[key];

Callers 2

util.jsFile · 0.80
getDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected