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

x/multiparser/deps.ts>bytes.equals

multipart/form-data parser for Deno servers
Latest
function bytes.equals
import { bytes } from "https://deno.land/x/multiparser@0.114.0/deps.ts";
const { equals } = bytes;

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