1 Star 1 Fork 0

onresize / to-fast-lt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
isRegExp.js 206 Bytes
一键复制 编辑 原始数据 按行查看 历史
Embrace 提交于 2022-08-09 20:31 . feat:添加工具方法
/**
*
*
* @desc 判断是否为正则类型
* @param {*} a
* @return {*}
*/
export default function isRegExp(a) {
let type = Object.prototype.toString.call(a)
return type == '[object RegExp]';
}
1
https://gitee.com/onresize/to-fast-lt.git
git@gitee.com:onresize/to-fast-lt.git
onresize
to-fast-lt
to-fast-lt
master

搜索帮助