Function: actionIsLinkButton()
actionIsLinkButton(
action
:PaginatedMessageAction
):action is LinkButtonComponentData
Checks if a PaginatedMessageAction is a button with ButtonStyle.Link style link
.
Parameters
Parameter | Type | Description |
---|---|---|
action | PaginatedMessageAction | The PaginatedMessageAction to check. |
Returns
action is LinkButtonComponentData
true
if the action is a button with ButtonStyle.Link style link
, false
otherwise.
Defined in
projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/utils.ts:54