Packages

final class ConstructorTag[T <: Any] extends AnyVal

Stores the JS constructor function of a JS class.

A ConstructorTag[T] holds the constructor function of a JS class, as retrieved by js.constructorOf[T]. Similarly to ClassTags, ConstructorTags can be implicitly materialized when T is statically known to be a JS class, i.e., a valid type argument to js.constructorOf.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConstructorTag
  2. AnyVal
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: scala.Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ConstructorTag[T] to any2stringadd[ConstructorTag[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ConstructorTag[T], B)
    Implicit
    This member is added by an implicit conversion from ConstructorTag[T] to ArrowAssoc[ConstructorTag[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: scala.Any): Boolean
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val constructor: Dynamic
  8. def ensuring(cond: (ConstructorTag[T]) ⇒ Boolean, msg: ⇒ scala.Any): ConstructorTag[T]
    Implicit
    This member is added by an implicit conversion from ConstructorTag[T] to Ensuring[ConstructorTag[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (ConstructorTag[T]) ⇒ Boolean): ConstructorTag[T]
    Implicit
    This member is added by an implicit conversion from ConstructorTag[T] to Ensuring[ConstructorTag[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ scala.Any): ConstructorTag[T]
    Implicit
    This member is added by an implicit conversion from ConstructorTag[T] to Ensuring[ConstructorTag[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): ConstructorTag[T]
    Implicit
    This member is added by an implicit conversion from ConstructorTag[T] to Ensuring[ConstructorTag[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def newInstance(args: scala.Any*): T

    Instantiates the class T with the specified arguments.

    Instantiates the class T with the specified arguments.

    Note that, unlike js.Dynamic.newInstance, this method accepts scala.Anys as parameters.

  15. def toString(): String
    Definition Classes
    Any
  16. def [B](y: B): (ConstructorTag[T], B)
    Implicit
    This member is added by an implicit conversion from ConstructorTag[T] to ArrowAssoc[ConstructorTag[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ConstructorTag[T] to StringFormat[ConstructorTag[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

Inherited from AnyVal

Inherited from scala.Any

Inherited by implicit conversion any2stringadd from ConstructorTag[T] to any2stringadd[ConstructorTag[T]]

Inherited by implicit conversion StringFormat from ConstructorTag[T] to StringFormat[ConstructorTag[T]]

Inherited by implicit conversion Ensuring from ConstructorTag[T] to Ensuring[ConstructorTag[T]]

Inherited by implicit conversion ArrowAssoc from ConstructorTag[T] to ArrowAssoc[ConstructorTag[T]]

Ungrouped