← Docs
kotlin-stdlib / kotlin.ranges / ClosedFloatingPointRange / lessThanOrEquals

lessThanOrEquals

Common
JVM
JS
Native
1.0
abstract fun lessThanOrEquals ( a : T , b : T ) : Boolean
(source)

Compares two values of range domain type and returns true if first is less than or equal to second.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .