Start native apps faster with the Composables CLI
->
Composables UI
Compose Unstyled
About
Blog
Composables UI
Compose Unstyled
About
Blog
Jetpack Compose
/
Compose UI
/
Compose UI Unit
/
Functions
/
max
Function
max
Copy Markdown
View Markdown
Open in ChatGPT
Open in Claude
max
Source set:
Common
inline fun max(a: Dp, b: Dp): Dp
lerp
← Previous
min
Next →
Last updated:
2026-07-02