MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / isArchivedValue

Function isArchivedValue

packages/web/src/features/search/parser.ts:49–51  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

47type ForkValue = 'yes' | 'no' | 'only';
48
49const isArchivedValue = (value: string): value is ArchivedValue => {
50 return value === 'yes' || value === 'no' || value === 'only';
51}
52
53const isVisibilityValue = (value: string): value is VisibilityValue => {
54 return value === 'public' || value === 'private' || value === 'any';

Callers 1

transformPrefixExprFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected