跳到主要内容

is_hook

判断是否 hook 了协程

声明

bool is_hook(coroutine co = nil)

参数

参数名描述
co需要判断的协程, 默认为当前协程

返回值

使用方式

返回文档