Skip to main content
Module

x/aleph/std.ts>bytes.equal

The Full-stack Framework in Deno.
Very Popular
Go to Latest
function bytes.equal
import { bytes } from "https://deno.land/x/aleph@v0.2.28/std.ts";
const { equal } = bytes;

Check whether binary arrays are equal to each other.

Parameters

source: Uint8Array

first array to check equality

match: Uint8Array

second array to check equality

Returns

boolean