isSingleTransactionPlanResult
Checks if the given transaction plan result is a SingleTransactionPlanResult.
Parameters
| Parameter | Type | Description |
|---|---|---|
plan | TransactionPlanResult | The transaction plan result to check. |
Returns
plan is Readonly<{ kind: "single"; message: TransactionMessage & TransactionMessageWithFeePayer<string>; status: TransactionPlanResultStatus<TransactionPlanResultContext> }>
true if the result is a single transaction plan result, false otherwise.