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

Method #isReservedWord

www/js/_hyperscript-max.js:2285–2287  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

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

Callers 2

resolveSymbolMethod · 0.95
setSymbolMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected