MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isEffortLevel

Function isEffortLevel

src/utils/effort.ts:67–69  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

65}
66
67export function isEffortLevel(value: string): value is EffortLevel {
68 return (EFFORT_LEVELS as readonly string[]).includes(value)
69}
70
71export function parseEffortValue(value: unknown): EffortValue | undefined {
72 if (value === undefined || value === null || value === '') {

Callers 3

parseEffortValueFunction · 0.85
executeEffortFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected