Skip to main content

Function: isActionLink()

isActionLink(action: PaginatedMessageAction): action is LinkButtonComponentData

Checks if the given action is a paginated message action link.

Parameters

ParameterTypeDescription
actionPaginatedMessageActionThe action to check.

Returns

action is LinkButtonComponentData

True if the action is a paginated message action link, false otherwise.

Source

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