Function
src/core/classes/assumption/assume.ts:163getAssumptionFor
getAssumptionFor(x: string | Expression): Assumption | undefinedReturns the interval currently registered for a plain variable.
remarks
`Assumption`instances are immutable, so the returned object can be inspected without exposing mutable registry state. Non-variable expressions have no direct assumption and return
`undefined`.
Parameters
| Name | Type | Description |
|---|---|---|
x | string | Expression | Plain variable expression or variable name. |
Returns
Assumption | undefined — The registered interval, or `undefined` when no assumption is available.
