is_ok接口

接口功能

判断状态是否正常。

C++函数原型

bool IsOk() const;

Python函数

is_ok()

接口参数

无。

使用样例

判断状态是否为正常状态。

1
ret = status.is_ok()