@harmoniclabs/plu-ts-onchain
Version:
An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript
6 lines (5 loc) • 323 B
TypeScript
import { IRRecursive } from "../../../IRNodes/IRRecursive.js";
import { IRTerm } from "../../../IRTerm.js";
import { IRApp } from "../../../IRNodes/index.js";
export type RecursiveIRNode = IRRecursive | IRApp;
export declare function findHighestRecursiveParent(term: IRTerm, maxScope: IRTerm): RecursiveIRNode | undefined;