@harmoniclabs/plu-ts-onchain
Version:
An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript
5 lines (4 loc) • 379 B
TypeScript
import type { TermFn, PLam, PBool, PList } from "../../../PTypes/index.js";
import { TermType, ToPType } from "../../../type_system/index.js";
import { PMaybeT } from "../PMaybe/PMaybe.js";
export declare function pfind<ElemsT extends TermType, PElemsT extends ToPType<ElemsT> = ToPType<ElemsT>>(elemsT: ElemsT): TermFn<[PLam<PElemsT, PBool>, PList<PElemsT>], PMaybeT<PElemsT>>;