Home > @ailer/pocket > isType
isType() function 
函数“isType”检查给定的上下文是否属于指定的类型。
Signature:
typescript
isType: (type: string) => (context: any) => booleanParameters 
Parameter  | Type  | Description  | 
|---|---|---|
type  | string  | “type”参数是一个字符串,表示您要检查的数据类型。  | 
(context: any) => boolean