Skip to main content
Module

x/lucid/mod.ts>C.Int#as_i32

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.
Very Popular
Latest
method C.Int.prototype.as_i32
import { C } from "https://deno.land/x/lucid@0.10.7/mod.ts";
const { Int } = C;

!!! DEPRECATED !!! Returns an i32 value in case the underlying original i128 value is within the limits. Otherwise will just return an empty value (undefined).