Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bigskysoftware/_hyperscript
/ nullCheck
Method
nullCheck
src/core/runtime/runtime.js:659–663 ·
view source on GitHub ↗
(value, elt)
Source
from the content-addressed store, hash-verified
657
}
658
659
nullCheck(value, elt) {
660
if
(value == null) {
661
throw
new
Error(
"'"
+ elt.sourceFor() +
"' is null"
);
662
}
663
}
664
665
isEmpty(value) {
666
return
value == undefined || value.length === 0;
Callers
15
resolve
Method · 0.45
resolve
Method · 0.45
resolve
Method · 0.45
resolve
Method · 0.45
resolve
Method · 0.45
toggle
Method · 0.45
resolve
Method · 0.45
resolve
Method · 0.45
resolve
Method · 0.45
resolve
Method · 0.45
resolve
Method · 0.45
resolve
Method · 0.45
Calls
1
sourceFor
Method · 0.45
Tested by
no test coverage detected