Skip to main content

Function: actionIsLinkButton()

actionIsLinkButton(action: PaginatedMessageAction): action is LinkButtonComponentData

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.

Defined in

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