MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / isValidKind

Function isValidKind

apps/api/scripts/codegen/new-feature.ts:8–9  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

6const defaultArg = process.argv[4];
7
8const isValidKind = (value: string | undefined): value is "boolean" | "limit" =>
9 value === "boolean" || value === "limit";
10
11if (name === undefined || name === "" || !isValidKind(kindArg)) {
12 console.error(

Callers 1

new-feature.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected