tx.value.intersect
Home > @blaze-cardano/tx > Value > intersect
Value.intersect() function
Determines the intersection of assets between two Value objects.
Signature:
export declare function intersect(a: Value, b: Value): number;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| a | Value | The first Value object. | 
| b | Value | The second Value object. | 
Returns:
number
{number} - The count of intersecting assets.