ICommand
Notice
A parent interface for all the commands
Implemented by
Table of contents
Properties
Properties
cmdType
• cmdType: bigint
Defined in
copy
• copy: <T>() => T
Type declaration
▸ <T>(): T
Type parameters
| Name | Type |
|---|---|
T | extends ICommand |
Returns
T
Defined in
equals
• equals: <T>(command: T) => boolean
Type declaration
▸ <T>(command): boolean
Type parameters
| Name | Type |
|---|---|
T | extends ICommand |
Parameters
| Name | Type |
|---|---|
command | T |
Returns
boolean
Defined in
toJSON
• toJSON: () => unknown
Type declaration
▸ (): unknown
Returns
unknown