# $isSlashCommand — Returns whether the interaction is a slash command

## Syntax

```
$isSlashCommand
```

## Parameters

None.

## Return Value

- Boolean.

## Usage

```
$isSlashCommand → result
```

## Example

```bdfd
$isSlashCommand
```
