Skip to main content

Function: isButtonComponentBuilder()

isButtonComponentBuilder(component: MessageActionRowComponentBuilder): component is ButtonBuilder

Defined in: projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/utils.ts:117

Checks if the given component is a button builder.

Parameters

ParameterTypeDescription
componentMessageActionRowComponentBuilderThe component to check.

Returns

component is ButtonBuilder

True if the component is a button builder, false otherwise.