MCPcopy
hub / github.com/bbc/peaks.js / isNullOrUndefined

Function isNullOrUndefined

src/utils.js:213–215  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

211 */
212
213export function isNullOrUndefined(value) {
214 return value === undefined || value === null;
215}
216
217/**
218 * Checks whether the given value is a function.

Callers 8

utils-spec.jsFile · 0.90
setDefaultPointOptionsFunction · 0.90
point.jsFile · 0.90
setDefaultSegmentOptionsFunction · 0.90
segment.jsFile · 0.90
waveform-points.jsFile · 0.90
view-controller.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected