@harmoniclabs/plu-ts-onchain
Version:
An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript
13 lines (12 loc) • 388 B
TypeScript
import { IRTerm } from "../IRTerm.js";
/**
* forces hash evaluation
*/
export declare function equalIRTermHash(a: IRTerm, b: IRTerm): boolean;
/**
* only checks the hash if already present ON BOTH
*
* otherwise it assumes the terms are different and returns false
* (even if they might be the same)
*/
export declare function shallowEqualIRTermHash(a: IRTerm, b: IRTerm): boolean;