Skip to main content
Module

x/lucid/mod.ts>C.MultiAsset#sub

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.MultiAsset.prototype.sub
import { C } from "https://deno.land/x/lucid@0.10.6/mod.ts";
const { MultiAsset } = C;

removes an asset from the list if the result is 0 or less does not modify this object, instead the result is returned