MCPcopy 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
71function throwIfNotString(a) {
72 if (typeof a !== "string") {
73 throw new WebAssembly.RuntimeError();
74 }
75}
76
77this.polyfillImports = {
78 test: (string) => {

Callers 1

polyfill.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected