Kind: Function
Source: atloria-monorepo/libs/parser-core/src/techdocs/control-flow-render.ts
A refusal, phrased so the condition stays verbatim and only the framing is ours.
The message is the developer's own sentence and carries more than the condition does — a reader
learns more from "Project has no repository URL configured" than from !project.repoUrl — so
it leads when present and the condition follows in code.
Signature
tsfunction describeGuard(actorName: string, guard: GuardClause): string
Parameters
| Name | Type |
|---|---|
actorName | string |
guard | GuardClause |
Returns: string
Was this page helpful?