function WebAssembly.validate
Jump to headingvalidate(bytes: BufferSource): boolean
The WebAssembly.validate()
function validates a given typed array of
WebAssembly binary code, returning whether the bytes form a valid wasm
module (true
) or not (false
).
Parameters Jump to heading
Jump to headingbytes: BufferSource
Return Type Jump to heading
boolean