import { Utils } from "https://deno.land/x/discord_api_types@0.37.40/v10.ts";
const { isInteractionButton } = Utils;
A type-guard check for buttons that have a custom_id
attached to them.
Parameters
component: APIButtonComponent
The button to check against
Returns
component is APIButtonComponentWithCustomId
A boolean that indicates if the button has a custom_id
attached to it