MCPcopy Create free account
hub / github.com/dailydotdev/apps / isWhatsOffNoteLine

Function isWhatsOffNoteLine

packages/shared/src/features/feedExplain/whatsOff.ts:181–182  ·  view source on GitHub ↗
({ kind }: WhatsOffLine)

Source from the content-addressed store, hash-verified

179
180/** Missing and already lines say something; the others offer changes. */
181export const isWhatsOffNoteLine = ({ kind }: WhatsOffLine): boolean =>
182 kind === WhatsOffLineKind.Missing || kind === WhatsOffLineKind.Already;
183
184/** A line left with no change to offer isn't shown. */
185export const isWhatsOffLineShown = (line: WhatsOffLine): boolean =>

Callers 3

getAnswerStatusFunction · 0.90
LineRowFunction · 0.90
isWhatsOffLineShownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected