@kismet.ts/core / Exports / BaseItem
Class: BaseItem
Hierarchy
BaseItem
↳
Sequence
Table of contents
Constructors
Properties
Methods
- _checkType
- isAction
- isCondition
- isEvent
- isSequence
- isSequenceActionNode
- isSequenceItem
- isSequenceNode
- isVariable
Constructors
constructor
• new BaseItem(type?
)
Parameters
Name | Type |
---|---|
type? | SequenceItemTypeName |
Defined in
Properties
type
• Readonly
type: null
| SequenceItemTypeName
Defined in
Methods
_checkType
▸ Private
_checkType(compareType
): boolean
Parameters
Name | Type |
---|---|
compareType | NodeType |
Returns
boolean
Defined in
isAction
▸ isAction(): this is SequenceAction
Returns
this is SequenceAction
Defined in
isCondition
▸ isCondition(): this is SequenceCondition
Returns
this is SequenceCondition
Defined in
isEvent
▸ isEvent(): this is SequenceEvent<Object>
Returns
this is SequenceEvent<Object>
Defined in
isSequence
▸ isSequence(): this is Sequence
Returns
this is Sequence
Defined in
isSequenceActionNode
▸ isSequenceActionNode(): this is SequenceAction | SequenceCondition
Returns
this is SequenceAction | SequenceCondition
Defined in
isSequenceItem
▸ isSequenceItem(): this is SequenceItemType
Returns
this is SequenceItemType
Defined in
isSequenceNode
▸ isSequenceNode(): this is SequenceAction | SequenceCondition | SequenceEvent<Object>
Returns
this is SequenceAction | SequenceCondition | SequenceEvent<Object>
Defined in
isVariable
▸ isVariable(): this is SequenceVariable
Returns
this is SequenceVariable