MCPcopy Index your code
hub / github.com/Linen-dev/linen.dev / getPage

Function getPage

apps/web/pages/api/all/index.tsx:11–16  ·  view source on GitHub ↗
(page?: number)

Source from the content-addressed store, hash-verified

9import { AnonymizeType } from '@linen/types';
10
11function getPage(page?: number) {
12 if (!page || page < 1) {
13 return 1;
14 }
15 return page;
16}
17
18export async function index({
19 params,

Callers 1

indexFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected