MCPcopy
hub / github.com/NervJS/nerv / isNullOrUndef

Function isNullOrUndef

packages/nerv-shared/src/index.ts:139–141  ·  view source on GitHub ↗
(o: any)

Source from the content-addressed store, hash-verified

137}
138
139export function isNullOrUndef (o: any): o is undefined | null {
140 return o === undefined || o === null
141}
142
143export function isInvalid (o: any): o is undefined | null | true | false {
144 return isNullOrUndef(o) || o === true || o === false

Callers 15

mapFunction · 0.90
forEachFunction · 0.90
toArrayFunction · 0.90
areDepsChangedFunction · 0.90
getContextByContextTypeFunction · 0.90
mountComponentFunction · 0.90
reRenderComponentFunction · 0.90
unmountComponentFunction · 0.90
cloneElementFunction · 0.90
unmountFunction · 0.90
createElementFunction · 0.90
patchFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected