Skip to content

Function: parseReasoning()

parseReasoning(value): ReasoningLevel | undefined

Fuzzy-match one reasoning label onto ReasoningLevel.

Returns undefined when the input is empty or cannot be mapped confidently.

unknown

ReasoningLevel | undefined