Skip to main content

Function: isActionUserMenu()

isActionUserMenu(action: PaginatedMessageAction): action is PaginatedMessageActionUserMenu

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

Parameters

ParameterTypeDescription
actionPaginatedMessageActionThe action to check.

Returns

action is PaginatedMessageActionUserMenu

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

Source

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