MCPcopy Create free account
hub / github.com/Barrior/JParticles / isFunction

Function isFunction

src/utils/checking.ts:18–20  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

16 * 检测 value 是否为函数
17 */
18export function isFunction(value: any): boolean {
19 return typeChecking(value, '[object Function]')
20}
21
22/**
23 * 检测 value 是否为数组

Callers 2

checking.spec.tsFile · 0.90
onMethod · 0.90

Calls 1

typeCheckingFunction · 0.85

Tested by

no test coverage detected