trait
Any extends AnyRef
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: scala.Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Any, B)
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: scala.Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
ensuring(cond: (Any) ⇒ Boolean, msg: ⇒ scala.Any): Any
-
def
ensuring(cond: (Any) ⇒ Boolean): Any
-
def
ensuring(cond: Boolean, msg: ⇒ scala.Any): Any
-
def
ensuring(cond: Boolean): Any
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: scala.Any): Boolean
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (Any, B)
Shadowed Implicit Value Members
-
val
self: scala.Any
-
val
self: scala.Any
Deprecated Value Members
-
def
x: Any
-
def
x: Any
Inherited from scala.Any
Inherited by implicit conversion any2stringadd from
Any to StringAdd
Inherited by implicit conversion any2stringfmt from
Any to StringFormat
Inherited by implicit conversion any2ArrowAssoc from
Any to ArrowAssoc[Any]
Inherited by implicit conversion any2Ensuring from
Any to Ensuring[Any]
Supertype of all JavaScript values.
Subtypes of js.Any are facade types to APIs implemented in JavaScript code. Their implementation is irrelevant and never emitted. As such, all members must be defined with their right-hand-side being js.native.
In most cases, you should extend js.Object instead of this trait to define facade types.
It is not possible to define traits or classes that inherit both from this trait and a strict subtype of AnyRef. In fact, you should think of js.Any as a third direct subclass of scala.Any, besides scala.AnyRef and scala.AnyVal.
See the JavaScript interoperability guide of Scala.js for more details.