Returns whether the current Scala version is Scala 2.
Returns whether the current Scala version is Scala 2.11.
Returns whether the current Scala version is Scala 2.12.
Returns whether the current Scala version is Scala 2.13.
Returns whether the current Scala version is Scala 3.
Returns whether the current Scala version is Dotty.
Returns whether the current Scala version is Dotty.
(Since version 2.0.0) use isScala3
TestVersion
provides information about the Scala version tests are being run on to enable platform specific test configuration.