object Is extends IsInstances with IsSupport with Serializable
- Source
- Is.scala
- Alphabetic
- By Inheritance
- Is
- Serializable
- Serializable
- IsSupport
- IsInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
implicit
def
isFromPredef[A, B](implicit ev: =:=[A, B]): Is[A, B]
In 2.13 there is a method on ev that makes this safe.
In 2.13 there is a method on ev that makes this safe. But lack of this method does not make the cast unsafe it just makes it not provable without the cast.
- 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() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
-
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