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