Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function equals
import { equals } from "https://deno.land/x/denogres@v4.0.1/vendor/deno.land/std@0.160.0/bytes/equals.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