Returns whether the current Scala version is Dotty.
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.
TestVersionprovides information about the Scala version tests are being run on to enable platform specific test configuration.