Skip to main content

Function: isMessageRoleSelectInteractionData()

isMessageRoleSelectInteractionData(interaction: ActionRowComponentOptions): interaction is RoleSelectMenuComponentData

Checks if the given interaction is a role select interaction.

Parameters

ParameterTypeDescription
interactionActionRowComponentOptionsThe interaction to check.

Returns

interaction is RoleSelectMenuComponentData

True if the interaction is a role select interaction, false otherwise.

Defined in

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