is_state


Description:

[ Version ( since = "3.28" ) ]
public bool is_state (string? state)

Checks to see if the current state of the StateMachine matches state .

Parameters:

this

a StateMachine

state

the name of the state to check

Returns:

true if this is currently set to state.