Check if WebAssembly is supported in the current environment.
true when WebAssembly global is available and functional.
true
WebAssembly
import { isWasmSupported } from "@aspect/crypto-wasm";if (isWasmSupported()) { console.log("WebAssembly is available");} Copy
import { isWasmSupported } from "@aspect/crypto-wasm";if (isWasmSupported()) { console.log("WebAssembly is available");}
Check if WebAssembly is supported in the current environment.