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