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

Function isVisibilityValue

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

Source from the content-addressed store, hash-verified

51}
52
53const isVisibilityValue = (value: string): value is VisibilityValue => {
54 return value === 'public' || value === 'private' || value === 'any';
55}
56
57const isForkValue = (value: string): value is ForkValue => {
58 return value === 'yes' || value === 'no' || value === 'only';

Callers 1

transformPrefixExprFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected