UNPKG

@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) 275 B
export type CanBeUInteger = bigint | number; export declare function canBeUInteger(something: any): something is (number | bigint); export declare function forceBigUInt(toForce: CanBeUInteger): bigint; export declare function unsafeForceUInt(toForce: CanBeUInteger): number;