Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/xdg/vendor/types/deno.d.ts>WebAssembly.validate

Determine XDG Base Directory paths (OS/platform portable)
Latest
function WebAssembly.validate
import { WebAssembly } from "https://deno.land/x/xdg@v10.6.0/vendor/types/deno.d.ts";
const { validate } = WebAssembly;

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

Returns

boolean