仪表盘
版本库
文件存储
活动
搜索
登录
main
/
opo-qd-app
青岛移动端
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
上报转运单部分数据接入
WXL
2025-12-27
05e6b08007a86b5b10c680babc9c3bcc3a1a201b
[opo-qd-app.git]
/
node_modules
/
is-what
/
dist
/
isNumber.js
1
2
3
4
5
6
7
8
9
import { getType } from './getType.js';
/**
* Returns whether the payload is a number (but not NaN)
*
* This will return `false` for `NaN`!!
*/
export function isNumber(payload) {
return getType(payload) === 'Number' && !Number.isNaN(payload);
}