import { Core } from "https://deno.land/x/lucid@0.8.6/src/mod.ts";
const { Int } = Core;
Methods
!!! DEPRECATED !!! Returns an i32 value in case the underlying original i128 value is within the limits. Otherwise will just return an empty value (undefined).
Returns the underlying value converted to i32 if possible (within limits) JsError in case of out of boundary overflow
Returns the underlying value converted to i32 if possible (within limits) Otherwise will just return an empty value (undefined).
BigNum can only contain unsigned u64 values
This function will return the absolute BigNum representation only in case the underlying i128 value is negative.
Otherwise nothing will be returned (undefined).
BigNum can only contain unsigned u64 values
This function will return the BigNum representation only in case the underlying i128 value is positive.
Otherwise nothing will be returned (undefined).
Returns string representation of the underlying i128 value directly. Might contain the minus sign (-) in case of negative value.