io.scalajs.npm.should.package.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of should_sjs0.6_2.12 Show documentation
Show all versions of should_sjs0.6_2.12 Show documentation
npm/should binding for Scala.js
The newest version!
package io.scalajs.npm
import scala.scalajs.js
/**
* should package object
* @author [email protected]
*/
package object should {
/**
* Should Extensions
* @param value the given value
*/
implicit class ShouldExtensionsA(val value: js.Any) extends AnyVal {
@inline
def should: Assertion = Should(value)
}
/**
* Should Extensions
* @param value the given value
*/
implicit class ShouldExtensionsB(val value: Int) extends AnyVal {
@inline
def should: Assertion = Should(value)
}
/**
* Should Extensions
* @param value the given value
*/
implicit class ShouldExtensionsC(val value: Double) extends AnyVal {
@inline
def should: Assertion = Should(value)
}
/**
* Should Extensions
* @param value the given value
*/
implicit class ShouldExtensionsD(val value: String) extends AnyVal {
@inline
def should: Assertion = Should(value)
}
}