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

x/lucid/src/utils/merkle_tree.ts>equals

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.
Very Popular
Latest
function equals
Re-export
import { equals } from "https://deno.land/x/lucid@0.10.10/src/utils/merkle_tree.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