跳到主要内容

getType

获取数据的类型

引入

import { getType } from "@quackxl/utility";

or

import { getType } from "@quackxl/utility/cores/getType.js";

格式

getType(value);

参数

属性名类型描述
vaueAny需要获取数据类型的数据
returnString返回值。返回具体的类型字符串,如String