Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ throwIfNotString
Function
throwIfNotString
test/fixtures/wpt/wasm/jsapi/js-string/polyfill.js:71–75 ·
view source on GitHub ↗
(a)
Source
from the content-addressed store, hash-verified
69
}
70
71
function
throwIfNotString(a) {
72
if
(typeof a !==
"string"
) {
73
throw
new
WebAssembly.RuntimeError();
74
}
75
}
76
77
this.polyfillImports = {
78
test: (string) => {
Callers
1
polyfill.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected