isPositive

fun Number.isPositive(): Boolean

It determines whether the specified number is positive.

Return

true if the specified number is greater than zero.

Sources

Link copied to clipboard