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

Function isNil

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

Source from the content-addressed store, hash-verified

91 * 检测 value 是否为 Undefined 或者 Null
92 */
93export function isNil(value: any): boolean {
94 return isUndefined(value) || isNull(value)
95}
96
97/**
98 * 检测 value 是否为 DOM 元素

Callers 1

checking.spec.tsFile · 0.90

Calls 2

isUndefinedFunction · 0.85
isNullFunction · 0.85

Tested by

no test coverage detected