MCPcopy 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 */
58export function isString(value: any): boolean {
59 return typeof value === 'string'
60}
61
62/**
63 * 检测 value 是否为数值

Callers 6

checking.spec.tsFile · 0.90
drawTextMethod · 0.90
getNumberValueOfStyleFunction · 0.90
makeColorMethodFunction · 0.90
loadMaskImageFunction · 0.90
generateShapeDataFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected