object Reflect

Source
Reflect.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Reflect
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): scala.Boolean
    Definition Classes
    AnyRef → Any
  4. val ^: Any
    Annotations
    @JSGlobal("Reflect") @native()
  5. def apply(target: scala.scalajs.js.Function, thisArgument: Any, argumentsList: ArrayLike[Any]): Any

    Calls the function with the specified object as the this value and the elements of specified array as the arguments.

    Calls the function with the specified object as the this value and the elements of specified array as the arguments.

    target

    The function to call.

    thisArgument

    The object to be used as the this object.

    argumentsList

    An array of argument values to be passed to the function.

    Annotations
    @inline()
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. def construct(target: scala.scalajs.js.Function, argumentsList: ArrayLike[Any], newTarget: scala.scalajs.js.Function): Any
    Annotations
    @inline()
  9. def construct(target: scala.scalajs.js.Function, argumentsList: ArrayLike[Any]): Any

    Constructs the target with the elements of specified array as the arguments and the specified constructor as the new.target value.

    Constructs the target with the elements of specified array as the arguments and the specified constructor as the new.target value.

    target

    The constructor to invoke.

    argumentsList

    An array of argument values to be passed to the constructor.

    Annotations
    @inline()
  10. def defineProperty(target: scala.scalajs.js.Object, propertyKey: PropertyKey, attributes: scala.scalajs.js.PropertyDescriptor): scala.Boolean

    Adds a property to an object, or modifies attributes of an existing property.

    Adds a property to an object, or modifies attributes of an existing property.

    target

    Object on which to add or modify the property. This can be a native JavaScript object (that is, a user-defined object or a built in object) or a DOM object.

    propertyKey

    The property name.

    attributes

    Descriptor for the property. It can be for a data property or an accessor property.

    Annotations
    @inline()
  11. def deleteProperty(target: scala.scalajs.js.Object, propertyKey: PropertyKey): scala.Boolean

    Removes a property from an object, equivalent to delete target[propertyKey], except it won't throw if target[propertyKey] is non-configurable.

    Removes a property from an object, equivalent to delete target[propertyKey], except it won't throw if target[propertyKey] is non-configurable.

    target

    Object from which to remove the own property.

    propertyKey

    The property name.

    Annotations
    @inline()
  12. final def eq(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef → Any
  14. def get(target: scala.scalajs.js.Object, propertyKey: PropertyKey, receiver: Any): Any
    Annotations
    @inline()
  15. def get(target: scala.scalajs.js.Object, propertyKey: PropertyKey): Any

    Gets the property of target, equivalent to target[propertyKey] when receiver === target.

    Gets the property of target, equivalent to target[propertyKey] when receiver === target.

    target

    Object that contains the property on itself or in its prototype chain.

    propertyKey

    The property name.

    Annotations
    @inline()
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. def getOwnPropertyDescriptor(target: scala.scalajs.js.Object, propertyKey: PropertyKey): UndefOr[scala.scalajs.js.PropertyDescriptor]

    Gets the own property descriptor of the specified object.

    Gets the own property descriptor of the specified object. An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype.

    target

    Object that contains the property.

    propertyKey

    The property name.

    Annotations
    @inline()
  18. def getPrototypeOf(target: scala.scalajs.js.Object): |[scala.scalajs.js.Object, Null]

    Returns the prototype of an object.

    Returns the prototype of an object.

    target

    The object that references the prototype.

    Annotations
    @inline()
  19. def has(target: scala.scalajs.js.Object, propertyKey: PropertyKey): scala.Boolean

    Equivalent to propertyKey in target.

    Equivalent to propertyKey in target.

    target

    Object that contains the property on itself or in its prototype chain.

    propertyKey

    Name of the property.

    Annotations
    @inline()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  21. def isExtensible(target: scala.scalajs.js.Object): scala.Boolean

    Returns a value that indicates whether new properties can be added to an object.

    Returns a value that indicates whether new properties can be added to an object.

    target

    Object to test.

    Annotations
    @inline()
  22. final def isInstanceOf[T0]: scala.Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. def ownKeys(target: scala.scalajs.js.Object): scala.scalajs.js.Array[|[java.lang.String, scala.scalajs.js.Symbol]]

    Returns the string and symbol keys of the own properties of an object.

    Returns the string and symbol keys of the own properties of an object. The own properties of an object are those that are defined directly on that object, and are not inherited from the object's prototype.

    target

    Object that contains the own properties.

    Annotations
    @inline()
  27. def preventExtensions(target: scala.scalajs.js.Object): scala.Boolean

    Prevents the addition of new properties to an object.

    Prevents the addition of new properties to an object.

    target

    Object to make non-extensible.

    returns

    Whether the object has been made non-extensible.

    Annotations
    @inline()
  28. def set(target: scala.scalajs.js.Object, propertyKey: PropertyKey, value: Any, receiver: Any): scala.Boolean
    Annotations
    @inline()
  29. def set(target: scala.scalajs.js.Object, propertyKey: PropertyKey, value: Any): scala.Boolean

    Sets the property of target, equivalent to target[propertyKey] = value when receiver === target.

    Sets the property of target, equivalent to target[propertyKey] = value when receiver === target.

    target

    Object that contains the property on itself or in its prototype chain.

    propertyKey

    Name of the property.

    Annotations
    @inline()
  30. def setPrototypeOf(target: scala.scalajs.js.Object, proto: scala.scalajs.js.Object): scala.Boolean
    Annotations
    @inline()
  31. def setPrototypeOf(target: scala.scalajs.js.Object): scala.Boolean

    Sets the prototype of a specified object o to object proto or null.

    Sets the prototype of a specified object o to object proto or null.

    target

    The object to change its prototype.

    returns

    Whether setting the prototype was successful.

    Annotations
    @inline()
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped