Function: isMessageButtonInteractionData()
isMessageButtonInteractionData(
interaction
:ActionRowComponentOptions
):interaction is ButtonComponentData
Checks if the given interaction is a button interaction.
Parameters
Parameter | Type | Description |
---|---|---|
interaction | ActionRowComponentOptions | The interaction to check. |
Returns
interaction is ButtonComponentData
True if the interaction is a button interaction, false otherwise.
Defined in
projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/utils.ts:63