MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / #isReservedWord

Method #isReservedWord

www/js/_hyperscript.esm.js:2284–2286  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

2282 // Symbol and property resolution
2283 // =================================================================
2284 #isReservedWord(str) {
2285 return ["meta", "it", "result", "locals", "event", "target", "detail", "sender", "body"].includes(str);
2286 }
2287 #isHyperscriptContext(context) {
2288 return context instanceof Context;
2289 }

Callers 2

resolveSymbolMethod · 0.95
setSymbolMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected