Skip to main content
Version: Next

tx.value.empty

Home > @blaze-cardano/tx > Value > empty

Value.empty() function

Determines if a Value object is empty (no coin and no multiassets).

Signature:

export declare function empty(v: Value): boolean;

Parameters

Parameter

Type

Description

v

Value

The Value object to check.

Returns:

boolean

{boolean} - True if the Value object is empty, false otherwise.