Quantum ToolkitTypesIntervalMethodscontainsOn this pagecontains Method of Interval. contains(real value) -> bool Checks if the interval contains the given value. Parameters value: The value to check.