isMessageComponentInteraction
Callable
Parameters
interaction: APIInteraction
The interaction to check against
Returns interaction is APIMessageComponentInteraction
A boolean that indicates if the interaction is a message component
The interaction to check against
A boolean that indicates if the interaction is a message component
A type-guard check for message component interactions