Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/triggerdotdev/jsonhero-web
/ isTheme
Function
isTheme
app/components/ThemeProvider.tsx:107–109 ·
view source on GitHub ↗
(value: unknown)
Source
from the content-addressed store, hash-verified
105
}
106
107
export function isTheme(value: unknown): value is Theme {
108
return typeof value ===
"string"
&& [
"light"
,
"dark"
].includes(value);
109
}
Callers
2
getThemeSession
Function · 0.90
action
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected