MCPcopy Create free account
hub / github.com/FirefoxCSS-Store/FirefoxCSS-Store.github.io / isArchivedTheme

Function isArchivedTheme

src/lib/themes.ts:9–11  ·  view source on GitHub ↗
(theme: Theme)

Source from the content-addressed store, hash-verified

7}
8
9export function isArchivedTheme(theme: Theme) {
10 return theme.data.status === 'archived'
11}
12
13export function isVisibleTheme(theme: Theme) {
14 return theme.data.status === 'published' || theme.data.status === 'archived'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected