isSingleTransactionPlan
Checks if the given transaction plan is a SingleTransactionPlan.
Parameters
| Parameter | Type | Description |
|---|---|---|
plan | TransactionPlan | The transaction plan to check. |
Returns
plan is Readonly<{ kind: "single"; message: TransactionMessage & TransactionMessageWithFeePayer<string>; planType: "transactionPlan" }>
true if the plan is a single transaction plan, false otherwise.