Skip to main content

Function: isActionButton()

isActionButton(action: PaginatedMessageAction): action is PaginatedMessageActionButton

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

Parameters

ParameterTypeDescription
actionPaginatedMessageActionThe action to check.

Returns

action is PaginatedMessageActionButton

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

Source

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