Function lotus_script::action::state
source · pub fn state(action: &str) -> ActionState
Expand description
Get the current state of an action. If the action is not registered, it will return ActionState::None
.
pub fn state(action: &str) -> ActionState
Get the current state of an action. If the action is not registered, it will return ActionState::None
.