Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Barrior/JParticles
/ isNumber
Function
isNumber
src/utils/checking.ts:65–67 ·
view source on GitHub ↗
(value: any)
Source
from the content-addressed store, hash-verified
63
* 检测 value 是否为数值
64
*/
65
export
function
isNumber(value: any): boolean {
66
return
typeof value ===
'number'
67
}
68
69
/**
70
* 检测 value 是否为布尔值
Callers
1
checking.spec.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected