@eveble/eveble

Hierarchy

Implemented by

Index

Properties

Methods

Properties

state

state: State

Methods

getSelectableStates

getSelectableStates(): Record‹string, State

Returns: Record‹string, State

getSelectableStates(): Record‹string, State

Returns: Record‹string, State


getState

getState(): State

Returns: State

getState(): State

Returns: State


hasState

hasState(): boolean

Returns: boolean

hasState(): boolean

Returns: boolean


isInOneOfStates

isInOneOfStates(states: State | State[]): boolean

Parameters:

NameType
statesState | State[]

Returns: boolean

isInOneOfStates(states: State | State[]): boolean

Parameters:

NameType
statesState | State[]

Returns: boolean


isInState

isInState(state: State | State[]): boolean

Parameters:

NameType
stateState | State[]

Returns: boolean

isInState(state: State | State[]): boolean

Parameters:

NameType
stateState | State[]

Returns: boolean


setState

setState(state: State): void

Parameters:

NameType
stateState

Returns: void

setState(state: State): void

Parameters:

NameType
stateState

Returns: void


validateState

validateState(stateOrStates: State | State[], error?: Error): boolean

Parameters:

NameType
stateOrStatesState | State[]
error?Error

Returns: boolean

validateState(stateOrStates: State | State[], error?: Error): boolean

Parameters:

NameType
stateOrStatesState | State[]
error?Error

Returns: boolean