deno / 1.23.2 / ~ / webassembly.validate.html /

WebAssembly.validate

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).

MDN

function validate( bytes: BufferSource) : boolean;
validate( bytes: BufferSource) : boolean

Parameters

bytes: BufferSource

Return Type

boolean