> For the complete documentation index, see [llms.txt](https://kap35.gitbook.io/kapui/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kap35.gitbook.io/kapui/user-manual/versioning.md).

# Versioning

With KapUI you can do specifics things by KapUI version.

To check version you have to do this :&#x20;

```cpp
#include "KapUI/KapUI.hpp"

void myFunction() {
    #if IS_KAPUI_VERSION(0, 1)
        //do something if KapUI is in version 0.1
    #else
        //do something if KapUI is not in version 0.1
    #endif
    
    #if IS_MAX_KAPUI_VERSION(0, 1))
        //do something if KapUI version is 0.1 maximum
    #else
        //do something if KapUI version is not 0.1 maximum
    #endif
    
    #if IS_MIN_KAPUI_VERSION(0, 1))
        //do something if KapUI version is 0.1 minimum
    #else
        //do something if KapUI version is not 0.1 minimum
    #endif
}
```
