MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / isAbsent

Function isAbsent

libatomic/src/review/viewer.js:82–84  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

80 return value.status === 'not_applicable' ? 'N/A' : 'Unavailable';
81 }
82 function isAbsent(value) {
83 return value.status === 'not_applicable' && ['File is absent in this revision', 'Subject is not present in this revision'].includes(value.reason);
84 }
85 function changeText(node) {
86 if (viewSnapshot) return 'Snapshot value; no comparison';
87 const observation = node.properties.observation;

Callers 2

changeTextFunction · 0.85
changedFunction · 0.85

Calls 1

includesMethod · 0.80

Tested by

no test coverage detected