UNPKG

@harmoniclabs/plu-ts-onchain

Version:

An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript

12 lines (11 loc) 372 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isLitteralPurpose = void 0; function isLitteralPurpose(stuff) { return (typeof stuff === "string" && (stuff === "spend" || stuff === "mint" || stuff === "withdraw" || stuff === "certify")); } exports.isLitteralPurpose = isLitteralPurpose;