Skip to main content

Function: actionIsLinkButton()

actionIsLinkButton(action: PaginatedMessageAction): action is LinkButtonComponentData

Defined in: projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/utils.ts:54

Checks if a PaginatedMessageAction is a button with ButtonStyle.Link style `link`.

Parameters

ParameterTypeDescription
actionPaginatedMessageActionThe PaginatedMessageAction to check.

Returns

action is LinkButtonComponentData

true if the action is a button with ButtonStyle.Link style `link`, false otherwise.