Function: isActionButton()
isActionButton(
action
:PaginatedMessageAction
):action is PaginatedMessageActionButton
Checks if the given action is a paginated message action button.
Parameters
Parameter | Type | Description |
---|---|---|
action | PaginatedMessageAction | The action to check. |
Returns
action is PaginatedMessageActionButton
True if the action is a paginated message action button, false otherwise.
Defined in
projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/utils.ts:126