trait Function extends scala.scalajs.js.Object with StObject
- Alphabetic
- By Inheritance
- Function
- StObject
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): scala.Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): scala.Boolean
- Definition Classes
- AnyRef → Any
- def apply(thisArg: Any, argArray: Any): Any
- Annotations
- @JSName("apply")
- 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")
- val arguments: Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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.
- 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.
- val caller: scala.scalajs.js.Function
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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)
- def hasOwnProperty(v: scala.Predef.String): scala.Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: scala.Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: scala.scalajs.js.Object): scala.Boolean
- Definition Classes
- Object
- val length: Double
- 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.
- final def ne(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def propertyIsEnumerable(v: scala.Predef.String): scala.Boolean
- Definition Classes
- Object
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): scala.Predef.String
- Definition Classes
- Object
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated