@kismet.ts/core / Exports / BaseItem

Class: BaseItem

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new BaseItem(type?)

Parameters

NameType
type?SequenceItemTypeName

Defined in

item/_base.ts:21open in new window

Properties

type

Readonly type: null | SequenceItemTypeName

Defined in

item/_base.ts:19open in new window

Methods

_checkType

Private _checkType(compareType): boolean

Parameters

NameType
compareTypeNodeType

Returns

boolean

Defined in

item/_base.ts:25open in new window


isAction

isAction(): this is SequenceAction

Returns

this is SequenceAction

Defined in

item/_base.ts:29open in new window


isCondition

isCondition(): this is SequenceCondition

Returns

this is SequenceCondition

Defined in

item/_base.ts:33open in new window


isEvent

isEvent(): this is SequenceEvent<Object>

Returns

this is SequenceEvent<Object>

Defined in

item/_base.ts:37open in new window


isSequence

isSequence(): this is Sequence

Returns

this is Sequence

Defined in

item/_base.ts:41open in new window


isSequenceActionNode

isSequenceActionNode(): this is SequenceAction | SequenceCondition

Returns

this is SequenceAction | SequenceCondition

Defined in

item/_base.ts:49open in new window


isSequenceItem

isSequenceItem(): this is SequenceItemType

Returns

this is SequenceItemType

Defined in

item/_base.ts:45open in new window


isSequenceNode

isSequenceNode(): this is SequenceAction | SequenceCondition | SequenceEvent<Object>

Returns

this is SequenceAction | SequenceCondition | SequenceEvent<Object>

Defined in

item/_base.ts:53open in new window


isVariable

isVariable(): this is SequenceVariable

Returns

this is SequenceVariable

Defined in

item/_base.ts:60open in new window