Skip to content
On this page

validateType ​

校验类型

使用 ​

js
import { validateType } from '@pinos-ui/utils'

代码示例 ​

参数说明 ​

参数名说明类型必传默认值
target校验目标unknown是-
type类型string是-

类型声明 ​

js
export declare function validateType(target: unknown, type: string): boolean;