getAssumptionFor(x: string | Expression): Assumption | undefined

Returns 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

NameTypeDescription
xstring | ExpressionPlain variable expression or variable name.

Returns

Assumption | undefined — The registered interval, or `undefined` when no assumption is available.