isNegative

fun Number.isNegative(): Boolean

It determines whether the specified number is negative.

Return

true if the specified number is less than zero.

Sources

Link copied to clipboard