Skip to main content
Module

x/discord_api_types/v9.ts>Utils.isChatInputApplicationCommandInteraction

Up to date Discord API Typings, versioned by the API version
Go to Latest
function Utils.isChatInputApplicationCommandInteraction
import { Utils } from "https://deno.land/x/discord_api_types@0.37.2/v9.ts";
const { isChatInputApplicationCommandInteraction } = Utils;

A type-guard check for chat input application commands.

Parameters

The interaction to check against

Returns

A boolean that indicates if the interaction is a chat input application command