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

Method #isHyperscriptContext

www/js/_hyperscript-max.js:2288–2290  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

2286 return ["meta", "it", "result", "locals", "event", "target", "detail", "sender", "body"].includes(str);
2287 }
2288 #isHyperscriptContext(context) {
2289 return context instanceof Context;
2290 }
2291 resolveSymbol(str, context, type, targetElement) {
2292 if (str === "me" || str === "my" || str === "I") return context.me;
2293 if (str === "it" || str === "its") return context.beingTested ?? context.result;

Callers 2

resolveSymbolMethod · 0.95
setSymbolMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected