std/bytes/mod.ts

Deno standard library
Go to Latest
function equals
import { equals } from "https://deno.land/std@0.147.0/bytes/mod.ts?s=equals";

Check whether binary arrays are equal to each other.

Parameters

a: Uint8Array[src]

first array to check equality

b: Uint8Array[src]

second array to check equality