validate method

bool validate(
  1. Object bytes
)

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

Implementation

_i2.bool validate(_i2.Object bytes) => _i6.callMethod(
      this,
      'validate',
      [bytes],
    );