(value: unknown)
| 450 | * required a `$` prefix; that has been unified with the GoalTab editor. |
| 451 | */ |
| 452 | export function parseGoalBudgetCents(value: unknown): number | null { |
| 453 | if (typeof value !== "string") { |
| 454 | return null; |
| 455 | } |
| 456 | const parsed = parseGoalBudgetInputCents(value); |
| 457 | return typeof parsed === "number" ? parsed : null; |
| 458 | } |
| 459 | |
| 460 | function parseGoalTurnCap(value: unknown): number | null { |
| 461 | if (typeof value !== "string" && typeof value !== "number") { |
no test coverage detected