Packages

trait Function extends scala.scalajs.js.Object with StObject

Creates a new function.

Annotations
@JSType() @native()
Source
Function.scala
Linear Supertypes
StObject, scala.scalajs.js.Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Function
  2. StObject
  3. Object
  4. Any
  5. AnyRef
  6. 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. def apply(thisArg: Any, argArray: Any): Any
    Annotations
    @JSName("apply")
  5. def apply(thisArg: Any): Any

    Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function.

    Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function.

    thisArg

    The object to be used as the this object.

    Annotations
    @JSName("apply")
  6. val arguments: Any
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def bind(thisArg: Any, argArray: Any*): Any

    For a given function, creates a bound function that has the same body as the original function.

    For a given function, creates a bound function that has the same body as the original function. The this object of the bound function is associated with the specified object, and has the specified initial parameters.

    thisArg

    An object to which the this keyword can refer inside the new function.

    argArray

    A list of arguments to be passed to the new function.

  9. def call(thisArg: Any, argArray: Any*): Any

    Calls a method of an object, substituting another object for the current object.

    Calls a method of an object, substituting another object for the current object.

    thisArg

    The object to be used as the current object.

    argArray

    A list of arguments to be passed to the method.

  10. val caller: scala.scalajs.js.Function
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  12. final def eq(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. val hasInstance: Function1[Any, scala.Boolean]

    Determines whether the given value inherits from this function if this function was used as a constructor function.

    Determines whether the given value inherits from this function if this function was used as a constructor function.

    A constructor function can control which objects are recognized as its instances by 'instanceof' by overriding this method.

    Annotations
    @JSName(js.Symbol.hasInstance)
  16. def hasOwnProperty(v: scala.Predef.String): scala.Boolean
    Definition Classes
    Object
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. final def isInstanceOf[T0]: scala.Boolean
    Definition Classes
    Any
  19. def isPrototypeOf(v: scala.scalajs.js.Object): scala.Boolean
    Definition Classes
    Object
  20. val length: Double
  21. val name: java.lang.String

    Returns the name of the function.

    Returns the name of the function. Function names are read-only and can not be changed.

  22. final def ne(arg0: AnyRef): scala.Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. def propertyIsEnumerable(v: scala.Predef.String): scala.Boolean
    Definition Classes
    Object
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  28. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  29. def valueOf(): Any
    Definition Classes
    Object
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. 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 StObject

Inherited from scala.scalajs.js.Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped