Skip to main content

Function: isActionRoleMenu()

isActionRoleMenu(action: PaginatedMessageAction): action is PaginatedMessageActionRoleMenu

Checks if the given action is a paginated message action role menu.

Parameters

ParameterTypeDescription
actionPaginatedMessageActionThe action to check.

Returns

action is PaginatedMessageActionRoleMenu

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

Defined in

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