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

Method #isReservedWord

src/core/runtime/runtime.js:246–248  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

244 // =================================================================
245
246 #isReservedWord(str) {
247 return ["meta", "it", "result", "locals", "event", "target", "detail", "sender", "body"].includes(str)
248 }
249
250 #isHyperscriptContext(context) {
251 return context instanceof Context;

Callers 2

resolveSymbolMethod · 0.95
setSymbolMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected