Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Moddable-OpenSource/moddable
/ assert
Function
assert
examples/io/streams/modules/streams.js:10–15 ·
view source on GitHub ↗
(it)
Source
from the content-addressed store, hash-verified
8
};
9
10
function
assert(it) {
11
if
(!it) {
12
debugger;
13
throw
new
TypeError(
"assertion"
);
14
}
15
}
16
function
ignoreReason(reason) {
17
// trace(`ignore ${ reason }\n`);
18
}
Callers
15
nextSteps
Function · 0.70
returnSteps
Function · 0.70
ReadableByteStreamControllerPullSteps
Function · 0.70
CreateReadableStream
Function · 0.70
ReadableStreamPipeTo
Function · 0.70
ReadableStreamTee
Function · 0.70
ReadableStreamDefaultTee
Function · 0.70
ReadableByteStreamTee
Function · 0.70
pullWithDefaultReader
Function · 0.70
pullWithBYOBReader
Function · 0.70
ReadableStreamAddReadIntoRequest
Function · 0.70
ReadableStreamAddReadRequest
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected