Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Barrior/JParticles
/ isString
Function
isString
src/utils/checking.ts:58–60 ·
view source on GitHub ↗
(value: any)
Source
from the content-addressed store, hash-verified
56
* 检测 value 是否为字符串
57
*/
58
export
function
isString(value: any): boolean {
59
return
typeof value ===
'string'
60
}
61
62
/**
63
* 检测 value 是否为数值
Callers
6
checking.spec.ts
File · 0.90
drawText
Method · 0.90
getNumberValueOfStyle
Function · 0.90
makeColorMethod
Function · 0.90
loadMaskImage
Function · 0.90
generateShapeData
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected