object Is extends IsInstances with IsSupport with Serializable
- Source
- Is.scala
- Alphabetic
- By Inheritance
- Is
- Serializable
- IsSupport
- IsInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- implicit def isFromPredef[A, B](implicit ev: =:=[A, B]): Is[A, B]
- Definition Classes
- IsSupport
- Annotations
- @inline()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit val leibniz: Category[Is]
The category instance on Leibniz categories.
The category instance on Leibniz categories.
- Definition Classes
- IsInstances
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit def refl[A]: Is[A, A]
In normal circumstances the only
Is
value which is available is the computational identityA Is A
at all typesA
.In normal circumstances the only
Is
value which is available is the computational identityA Is A
at all typesA
. These "self loops" generate all of the behavior of equality and also ensure that at its heartA Is B
is always just an identity relation.Implementation note: all values of
refl
return the same (private) instance at whatever type is appropriate to save on allocations.- Annotations
- @inline()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def unsafeFromPredef[A, B](eq: =:=[A, B]): Is[A, B]
It can be convenient to convert a
Predef.=:=
value into anIs
value.It can be convenient to convert a
Predef.=:=
value into anIs
value. This is not actually unsafe, but was previously labeled as such out of an abundance of caution- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.2.0) use Is.isFromPredef