Class

io.scalajs.dom.collection

Arguments

Related Doc: package collection

Permalink

class Arguments[A] extends Object with JsCollection[A]

The arguments object is an Array-like object corresponding to the arguments passed to a function.

The arguments object is a local variable available within all functions. You can refer to a function's arguments within the function by using the arguments object. This object contains an entry for each argument passed to the function, the first entry's index starting at 0.

Annotations
@RawJSType() @native()
See also

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments

Linear Supertypes
JsCollection[A], Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Arguments
  2. JsCollection
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Arguments()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[T](it: Iterator[T]): Arguments[T]

    Permalink

    Returns a new Array Iterator object that contains the values for each index in the arguments.

    Returns a new Array Iterator object that contains the values for each index in the arguments.

    it

    the specified Iterator

    returns

    a new Array Iterator object

    Annotations
    @JSBracketAccess()
  5. def apply(index: Int): A

    Permalink

    Returns the item at the specified index

    Returns the item at the specified index

    index

    the specified index

    returns

    the item at the specified index

    Definition Classes
    Arguments → JsCollection
    Annotations
    @JSBracketAccess()
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def callee: Any

    Permalink

    Reference to the currently executing function.

  8. def caller: Any

    Permalink

    Reference to the function that invoked the currently executing function.

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  18. def length: Int

    Permalink

    Reference to the number of arguments passed to the function.

    Reference to the number of arguments passed to the function.

    returns

    the number of arguments passed

    Definition Classes
    Arguments → JsCollection
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JsCollection[A]

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped