MCPcopy
hub / github.com/chavyleung/scripts / isNull

Function isNull

chavy.box.js:828–829  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

826 $.setdata(JSON.stringify(chavy_boxjs_cur_sessions), $.KEY_cursessions)
827 $.setdata(JSON.stringify(chavy_boxjs_app_subCaches), $.KEY_app_subCaches)
828 const isNull = (val) =>
829 [undefined, null, 'null', 'undefined', ''].includes(val)
830 Object.keys(datas).forEach((datkey) =>
831 $.setdata(isNull(datas[datkey]) ? '' : `${datas[datkey]}`, datkey)
832 )

Callers 1

apiRevertGlobalBakFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…