scala.scalajs.js.internal.UnitOps.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala3-library_sjs1_3 Show documentation
Show all versions of scala3-library_sjs1_3 Show documentation
scala3-library-bootstrappedJS
package scala.scalajs.js.internal
import scala.scalajs.js
/** Under -scalajs, this object is part of the implicit scope of `scala.Unit` */
object UnitOps:
implicit def unitOrOps[A](x: A | Unit): js.UndefOrOps[A] =
new js.UndefOrOps(x)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy