Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/lucid/src/mod.ts>C.Int#as_i32_or_nothing

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
Go to Latest
method C.Int.prototype.as_i32_or_nothing
import { C } from "https://deno.land/x/lucid@0.10.5/src/mod.ts";
const { Int } = C;

Returns the underlying value converted to i32 if possible (within limits) Otherwise will just return an empty value (undefined).