MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / parsePage

Function parsePage

apps/web/server/routers/ssr/channels.ts:154–160  ·  view source on GitHub ↗
(page: string)

Source from the content-addressed store, hash-verified

152}
153
154function parsePage(page: string): number | undefined {
155 try {
156 return z.coerce.number().parse(page);
157 } catch (error) {
158 return undefined;
159 }
160}
161
162export default ssrRouter;

Callers 1

getThreadsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected