Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/capi/deps/std/bytes.ts>equals

[WIP] A framework for crafting interactions with Substrate chains
Latest
function equals
import { equals } from "https://deno.land/x/capi@v0.1.1-beta.1/deps/std/bytes.ts";

Check whether binary arrays are equal to each other.

Parameters

a: Uint8Array

first array to check equality

b: Uint8Array

second array to check equality

Returns

boolean