max

Deprecated

Warning since 1.4

Error since 1.5

Use maxOrNull instead.

Replace with

this.maxOrNull()