A class declaration.
The source location of this declaration.
The documentation comment for this declaration, if any.
The annotations attached to this declaration.
The modifiers of this declaration.
The name of this declaration.
The class reflected upon.
The module enclosing this type declaration.
If this type declaration is a module class, enclosingDeclaration is the corresponding module instance.
enclosingDeclaration
The type parameters of this class.
Only standard library classes can have type parameters.
The superclass of this class.
All classes except Any have a superclass.
Any
The supertype of this class.
All classes except Any have a supertype.
The properties declared in this class.
Does not include properties declared in superclasses.
The methods declared in this class.
Does not include methods declared in superclasses.
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
Tells if this class is a subclass of other.
other
Every class is a subclass of itself.
A class declaration.