MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / isRecipe

Function isRecipe

src/schedule/recipes.ts:19–21  ·  view source on GitHub ↗
(s: string | undefined | null)

Source from the content-addressed store, hash-verified

17export type RecipeKind = (typeof RECIPES)[number];
18
19export function isRecipe(s: string | undefined | null): s is RecipeKind {
20 return !!s && (RECIPES as readonly string[]).includes(s);
21}
22
23/**
24 * Wrap a user goal in the chosen recipe's protocol. Returns the full prompt to feed the

Callers 3

index.tsFile · 0.85
dispatchActionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected