| Supertypes | |
|---|---|
| Self type |
Transform a value type into a boxed reference type.
This method is not intended for use in source code. The runtime representation of this value is platform specific.
| Value parameters |
|
|---|---|
| Returns | a scala.runtime.BoxedUnit offering |
The String representation of the scala.Unit companion object.
| Definition Classes | Any |
|---|
Transform a boxed type into a value type. Note that this method is not typesafe: it accepts any Object, but will throw an exception if the argument is not a scala.runtime.BoxedUnit.
This method is not intended for use in source code. The result of successfully unboxing a value is ().
| Value parameters |
|
|---|---|
| Returns | the Unit value () |
| Throws |
|
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.2.0/scala/Unit$.html