Home > @taiyuuki/utils > is_callable
is_callable() function 
判断给定的参数是否是函数
Signature:
typescript
declare function is_callable<T extends Function>(target: any): target is T;declare function is_callable<T extends Function>(target: any): target is T;Parameters 
| Parameter | Type | Description | 
|---|---|---|
| target | any | 参数 target 是 any 类型,这意味着它可以是任何数据类型 | 
Returns:
target is T
返回布尔值