MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / returnsTrue

Function returnsTrue

test/expressions/logicalOperator.js:73–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 const result = await evaluate(async () => {
72 let rhsCalled = false
73 const returnsTrue = () => Promise.resolve(true)
74 const rhs = () => { rhsCalled = true; return false }
75 const r = await _hyperscript("returnsTrue() or rhs()", {locals: {returnsTrue, rhs}})
76 return { result: r, rhsCalled }

Callers

nothing calls this directly

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected