MCPcopy Create free account
hub / github.com/Maccoder3/MAC-MD / nullish

Function nullish

lib/simple.js:1831–1833  ·  view source on GitHub ↗

* ?? * @link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator * @returns {boolean}

(args)

Source from the content-addressed store, hash-verified

1829 * @returns {boolean}
1830 */
1831function nullish(args) {
1832 return !(args !== null && args !== undefined)
1833}
1834
1835// TypeError: Cannot read properties of null (reading 'user')
1836// at WebMessageInfo.get (file:///home/container/lib/simple.js:888:70)

Callers 2

valueFunction · 0.85
getFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected