AnyType

case object AnyType extends Type

Any type (the top type of this type system). A variable of this type can contain any value, including undefined and null and any JS value. This type supports a very limited set of Scala operations, the ones common to all values. Basically only reference equality tests and instance tests. It also supports all JavaScript operations, since all Scala objects are also genuine JavaScript objects. The type java.lang.Object in the back-end maps to AnyType because it can hold JS values (not only instances of Scala.js classes).

trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Type
class Object
trait Matchable
class Any

Type members

Inherited types

The name of the type

The name of the type

Inherited from
Mirror
Inherited from
Singleton
Inherited from
Singleton

Value members

Inherited methods

Inherited from
Product
def show(): String
Inherited from
Type