StateMachine.isState

Checks to see if the current state of the #DzlStateMachine matches @state.

class StateMachine
bool
isState
(
string state
)

Parameters

state
Type: string

the name of the state to check

Return Value

Type: bool

%TRUE if @self is currently set to @state.

Meta

Since

3.28