Skip to main content
Version: v1.3_alpha

ICommand

Notice

A parent interface for all the commands

Implemented by

Table of contents

Properties

Properties

cmdType

cmdType: bigint

Defined in

commands/types.ts:5


copy

copy: <T>() => T

Type declaration

▸ <T>(): T

Type parameters
NameType
Textends ICommand
Returns

T

Defined in

commands/types.ts:6


equals

equals: <T>(command: T) => boolean

Type declaration

▸ <T>(command): boolean

Type parameters
NameType
Textends ICommand
Parameters
NameType
commandT
Returns

boolean

Defined in

commands/types.ts:7


toJSON

toJSON: () => unknown

Type declaration

▸ (): unknown

Returns

unknown

Defined in

commands/types.ts:8