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

std/node/buffer.ts>Buffer#equals

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method Buffer.prototype.equals
import { Buffer } from "https://deno.land/std@0.92.0/node/buffer.ts";

Parameters

otherBuffer: Uint8Array | Buffer

Returns

boolean