    

 ## On this page

  

 

 # getUpperBound

 Last update: 16.07.2025 

public [getUpperBound](get-upper-bound.md)(): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)

gets the upper bound for the variable

#### Return

the upper bound of the variable

#### Throws

[ModelCenterException](../-model-center-exception/index.md)