跳到主要内容

is_in_state

当前是否处于指定状态

声明

bool is_in_state(string state_name)

参数

参数名描述
state_name状态名称

返回值

true - 是, false - 否

使用方式

返回文档