class Array[A] extends Object with Iterable[A]
Arrays are list-like objects whose prototype has methods to perform traversal and mutation operations. Neither the length of a JavaScript array nor the types of its elements are fixed. Since an array's size length grow or shrink at any time, JavaScript arrays are not guaranteed to be dense. In general, these are convenient characteristics; but if these features are not desirable for your particular use, you might consider using typed arrays.
MDN
To construct a new array with uninitialized elements, use the constructor of this class. To construct a new array with specified elements, as if you used the array literal syntax in JavaScript, use the Array.apply method instead.
- A
Type of the elements of the array
- Alphabetic
- By Inheritance
- Array
- Iterable
- Object
- Any
- AnyRef
- Any
- by jsArrayOps
- by wrapArray
- by iterableOps
- by arrayAsIterable
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- final def ++[B >: A](ys: Array[_ <: B]): Array[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def ++[B >: A](ys: collection.IterableOnce[B]): Array[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def ++[B >: A](suffix: collection.IterableOnce[B]): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOps
- Annotations
- @inline()
- final def ++[B >: A](suffix: collection.IterableOnce[B]): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOps
- Annotations
- @inline()
- final def ++[B >: A](suffix: collection.IterableOnce[B]): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOps
- Annotations
- @inline()
- final def ++:[B >: A](prefix: Array[_ <: B]): Array[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def ++:[B >: A](prefix: collection.IterableOnce[B]): Array[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def ++:[B >: A](prefix: collection.IterableOnce[B]): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps → IterableOps
- Annotations
- @inline()
- final def +:[B >: A](x: B): Array[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def +:[B >: A](elem: B): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- Annotations
- @inline()
- def ->[B](y: B): (Array[A], B)
- final def :+[B >: A](x: B): Array[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def :+[B >: A](elem: B): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- Annotations
- @inline()
- final def :++[B >: A](suffix: Array[_ <: B]): Array[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def :++[B >: A](suffix: collection.IterableOnce[B]): Array[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def :++[B >: A](suffix: collection.IterableOnce[B]): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- Annotations
- @inline()
- final def ==(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
- def andThen[C](k: PartialFunction[A, C]): PartialFunction[Int, C]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- PartialFunction
- def andThen[C](k: (A) => C): PartialFunction[Int, C]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- PartialFunction → Function1
- def appended[B >: A](x: B): Array[B]
A copy of this array with an element appended.
A copy of this array with an element appended.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def appended[B >: A](elem: B): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- def appendedAll[B >: A](suffix: Array[_ <: B]): Array[B]
A copy of this array with all elements of an array appended.
A copy of this array with all elements of an array appended.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def appendedAll[B >: A](suffix: collection.IterableOnce[B]): Array[B]
A copy of this array with all elements of a collection appended.
A copy of this array with all elements of a collection appended.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def appendedAll[B >: A](suffix: collection.IterableOnce[B]): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- def apply(index: Int): A
Access the element at the given index.
Access the element at the given index.
- Annotations
- @JSBracketAccess()
- def applyOrElse[A1 <: A, B1 >: B](x: A1, default: (A1) => B1): B1
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- PartialFunction
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(that: scala.Any): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- Seq → Equals
- def className: String
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- WrappedArray → Iterable
- Annotations
- @inline()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def collect[B](pf: PartialFunction[A, B]): Array[B]
Builds a new array by applying a partial function to all elements of this array on which the function is defined.
Builds a new array by applying a partial function to all elements of this array on which the function is defined.
- B
the element type of the returned array.
- pf
the partial function which filters and maps the array.
- returns
a new array resulting from applying the given partial function
pf
to each element on which it is defined and collecting the results. The order of the elements is preserved.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def collect[B](pf: PartialFunction[A, B]): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def collectFirst[B](f: PartialFunction[A, B]): Option[B]
Finds the first element of the array for which the given partial function is defined, and applies the partial function to it.
Finds the first element of the array for which the given partial function is defined, and applies the partial function to it.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- PartialFunction
- def compose[A](g: (A) => Int): (A) => A
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def concat[B >: A](items: Array[_ <: B]*): Array[B]
concat creates a new array consisting of the elements in the this object on which it is called, followed in order by, for each argument, the elements of that argument (if the argument is an array) or the argument itself (if the argument is not an array).
concat creates a new array consisting of the elements in the this object on which it is called, followed in order by, for each argument, the elements of that argument (if the argument is an array) or the argument itself (if the argument is not an array).
MDN
- def containsSlice[B](that: collection.Seq[B]): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- def copyToArray[B >: A](xs: scala.Array[B], start: Int, len: Int): Int
Copy elements of this array to a Scala array.
Copy elements of this array to a Scala array.
Fills the given array
xs
starting at indexstart
with at mostlen
values. Copying will stop once either all the elements of this array have been copied, or the end of the array is reached, orlen
elements have been copied.- B
the type of the elements of the array.
- xs
the array to fill.
- start
the starting index within the destination array.
- len
the maximal number of elements to copy.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def copyToArray[B >: A](xs: scala.Array[B], start: Int): Int
Copy elements of this array to a Scala array.
Copy elements of this array to a Scala array.
Fills the given array
xs
starting at indexstart
. Copying will stop once either all the elements of this array have been copied, or the end of the array is reached.- B
the type of the elements of the array.
- xs
the array to fill.
- start
the starting index within the destination array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def copyToArray[B >: A](xs: scala.Array[B]): Int
Copy elements of this array to a Scala array.
Copy elements of this array to a Scala array.
Fills the given array
xs
starting at index 0. Copying will stop once either all the elements of this array have been copied, or the end of the array is reached.- B
the type of the elements of the array.
- xs
the array to fill.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def copyToArray[B >: A](xs: scala.Array[B], start: Int, len: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: A](xs: scala.Array[B], start: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: A](xs: scala.Array[B]): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: A](xs: scala.Array[B], start: Int, len: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: A](xs: scala.Array[B], start: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: A](xs: scala.Array[B]): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: A](xs: scala.Array[B], start: Int, len: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: A](xs: scala.Array[B], start: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: A](xs: scala.Array[B]): Int
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- def corresponds[B](that: collection.Seq[B])(p: (A, B) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- def diff[B >: A](that: Seq[B]): Array[A]
Computes the multiset difference between this array and another sequence.
Computes the multiset difference between this array and another sequence.
- that
the sequence of elements to remove
- returns
a new array which contains all elements of this array except some of occurrences of elements that also appear in
that
. If an element valuex
appears n times inthat
, then the first n occurrences ofx
will not form part of the result, but any following occurrences will.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def diff[B >: A](that: collection.Seq[B]): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- def distinctBy[B](f: (A) => B): Array[A]
Selects all the elements of this array ignoring the duplicates as determined by
==
after applying the transforming functionf
.Selects all the elements of this array ignoring the duplicates as determined by
==
after applying the transforming functionf
.- B
the type of the elements after being transformed by
f
- f
The transforming function whose result is used to determine the uniqueness of each element
- returns
a new array consisting of all the elements of this array without duplicates.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def distinctBy[B](f: (A) => B): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- def elementWise: ElementWiseExtractor[Int, A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- PartialFunction
- def endsWith[B >: A](that: collection.Iterable[B]): Boolean
Tests whether this array ends with the given sequence.
Tests whether this array ends with the given sequence.
- that
the sequence to test
- returns
true
if this array hasthat
as a suffix,false
otherwise.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def endsWith[B >: A](that: Array[B]): Boolean
Tests whether this array ends with the given array.
Tests whether this array ends with the given array.
- that
the array to test
- returns
true
if this array hasthat
as a suffix,false
otherwise.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def endsWith[B >: A](that: collection.Iterable[B]): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- def ensuring(cond: (Array[A]) => Boolean, msg: => scala.Any): Array[A]
- def ensuring(cond: (Array[A]) => Boolean): Array[A]
- def ensuring(cond: Boolean, msg: => scala.Any): Array[A]
- def ensuring(cond: Boolean): Array[A]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findLast(p: (A) => Boolean): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- def flatMap[BS, B](f: (A) => BS)(implicit asIterable: (BS) => collection.Iterable[B]): Array[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def flatMap[B](f: (A) => collection.IterableOnce[B]): Array[B]
Builds a new array by applying a function to all elements of this array and using the elements of the resulting collections.
Builds a new array by applying a function to all elements of this array and using the elements of the resulting collections.
- B
the element type of the returned array.
- f
the function to apply to each element.
- returns
a new array resulting from applying the given collection-valued function
f
to each element of this array and concatenating the results.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def flatMap[B](f: (A) => collection.IterableOnce[B]): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def flatten[B](implicit asIterable: (A) => collection.Iterable[B]): Array[B]
Flattens a two-dimensional array by concatenating all its rows into a single array.
Flattens a two-dimensional array by concatenating all its rows into a single array.
- B
Type of row elements.
- asIterable
A function that converts elements of this array to rows - Iterables of type
B
.- returns
An array obtained by concatenating rows of this array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def flatten[B](implicit toIterableOnce: (A) => collection.IterableOnce[B]): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
Folds the elements of this array using the specified associative binary operator.
Folds the elements of this array using the specified associative binary operator.
- A1
a type parameter for the binary operator, a supertype of
A
.- z
a neutral element for the fold operation; may be added to the result an arbitrary number of times, and must not change the result (e.g.,
Nil
for list concatenation, 0 for addition, or 1 for multiplication).- op
a binary operator that must be associative.
- returns
the result of applying the fold operator
op
between all the elements, orz
if this array is empty.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- def foldLeft[B](z: B)(op: (B, A) => B): B
Applies a binary operator to a start value and all elements of this array, going left to right.
Applies a binary operator to a start value and all elements of this array, going left to right.
- B
the result type of the binary operator.
- z
the start value.
- op
the binary operator.
- returns
the result of inserting
op
between consecutive elements of this array, going left to right with the start valuez
on the left:op(...op(z, x_1), x_2, ..., x_n)
where
x1, ..., xn
are the elements of this array. Returnsz
if this array is empty.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def foldRight[B](z: B)(op: (A, B) => B): B
Applies a binary operator to all elements of this array and a start value, going right to left.
Applies a binary operator to all elements of this array and a start value, going right to left.
- B
the result type of the binary operator.
- z
the start value.
- op
the binary operator.
- returns
the result of inserting
op
between consecutive elements of this array, going right to left with the start valuez
on the right:op(x_1, op(x_2, ... op(x_n, z)...))
where
x1, ..., xn
are the elements of this array. Returnsz
if this array is empty.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def foldRight[B](z: B)(op: (A, B) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IndexedSeqOps → IterableOnceOps
- def foreach[U](f: (A) => U): Unit
Apply
f
to each element for its side effects.Apply
f
to each element for its side effects.Note: [U] parameter needed to help scalac's type inference.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def groupBy[K](f: (A) => K): collection.immutable.Map[K, Array[A]]
Partitions this array into a map of arrays according to some discriminator function.
Partitions this array into a map of arrays according to some discriminator function.
- K
the type of keys returned by the discriminator function.
- f
the discriminator function.
- returns
A map from keys to arrays such that the following invariant holds:
(xs groupBy f)(k) = xs filter (x => f(x) == k)
That is, every key
k
is bound to an array of those elementsx
for whichf(x)
equalsk
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def groupMap[K, B](key: (A) => K)(f: (A) => B): collection.immutable.Map[K, Array[B]]
Partitions this array into a map of arrays according to a discriminator function
key
.Partitions this array into a map of arrays according to a discriminator function
key
.Each element in a group is transformed into a value of type
B
using thevalue
function.It is equivalent to
groupBy(key).mapValues(_.map(f))
, but more efficient.case class User(name: String, age: Int) def namesByAge(users: js.Array[User]): Map[Int, js.Array[String]] = users.groupMap(_.age)(_.name)
- K
the type of keys returned by the discriminator function
- B
the type of values returned by the transformation function
- key
the discriminator function
- f
the element transformation function
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def hasOwnProperty(v: String): Boolean
Tests whether this object has the specified property as a direct property.
Tests whether this object has the specified property as a direct property.
Unlike js.Object.hasProperty, this method does not check down the object's prototype chain.
MDN
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def indexOf[B >: A](elem: B): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- Annotations
- @deprecatedOverriding("Override indexOf(elem, from) instead - indexOf(elem) calls indexOf(elem, 0)", "2.13.0")
- def indexOfSlice[B >: A](that: collection.Seq[B]): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- Annotations
- @deprecatedOverriding("Override indexOfSlice(that, from) instead - indexOfSlice(that) calls indexOfSlice(that, 0)", "2.13.0")
- def indexOfSlice[B >: A](that: collection.Seq[B], from: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- def indexWhere(p: (A) => Boolean): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- Annotations
- @deprecatedOverriding("Override indexWhere(p, from) instead - indexWhere(p) calls indexWhere(p, 0)", "2.13.0")
- def intersect[B >: A](that: Seq[B]): Array[A]
Computes the multiset intersection between this array and another sequence.
Computes the multiset intersection between this array and another sequence.
- that
the sequence of elements to intersect with.
- returns
a new array which contains all elements of this array which also appear in
that
. If an element valuex
appears n times inthat
, then the first n occurrences ofx
will be retained in the result, but any following occurrences will be omitted.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def intersect[B >: A](that: collection.Seq[B]): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- def isDefinedAt(idx: Int): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
Tests whether this object is in the prototype chain of another object.
Tests whether this object is in the prototype chain of another object.
- Definition Classes
- Object
- def join(seperator: String = ","): String
The join() method joins all elements of an array into a string.
The join() method joins all elements of an array into a string.
separator Specifies a string to separate each element of the array. The separator is converted to a string if necessary. If omitted, the array elements are separated with a comma.
- def jsIterator(): Iterator[A]
ECMAScript 6 JavaScript Iterator for this Array.
ECMAScript 6 JavaScript Iterator for this Array.
- Definition Classes
- Array → Iterable
- Annotations
- @JSName(symbol = js.Symbol.iterator)
- def jsSlice(start: Int = 0, end: Int = Int.MaxValue): Array[A]
The slice() method returns a shallow copy of a portion of an array.
The slice() method returns a shallow copy of a portion of an array.
MDN
- Annotations
- @JSName(name = "slice")
- def lastIndexOfSlice[B >: A](that: collection.Seq[B]): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- Annotations
- @deprecatedOverriding("Override lastIndexOfSlice(that, end) instead - lastIndexOfSlice(that) calls lastIndexOfSlice(that, Int.MaxValue)", "2.13.0")
- def lastIndexOfSlice[B >: A](that: collection.Seq[B], end: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- def lastIndexWhere(p: (A) => Boolean): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- Annotations
- @deprecatedOverriding("Override lastIndexWhere(p, end) instead - lastIndexWhere(p) calls lastIndexWhere(p, Int.MaxValue)", "2.13.0")
- def length: Int
Length of the array.
- final def lengthCompare(that: collection.Iterable[_]): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IndexedSeqOps → SeqOps
- def length_=(v: Int): Unit
Sets the length of the array.
Sets the length of the array. If the new length is bigger than the old length, created slots are filled with
undefined
(irrespective of the type argumentA
!). If the new length is smaller than the old length, the array is shrunk. - def lift: (Int) => Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- PartialFunction
- def map[B](f: (A) => B): Array[B]
Builds a new array by applying a function to all elements of this array.
Builds a new array by applying a function to all elements of this array.
- B
the element type of the returned array.
- f
the function to apply to each element.
- returns
a new aray resulting from applying the given function
f
to each element of this array and collecting the results.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def map[B](f: (A) => B): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IndexedSeqOps → IterableOps → IterableOnceOps
- def mapResult[NewTo](f: (WrappedArray[A]) => NewTo): Builder[A, NewTo]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- Builder
- def max[B >: A](implicit ord: math.Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def max[B >: A](implicit ord: math.Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def max[B >: A](implicit ord: math.Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- def maxOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def maxOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def maxOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- def min[B >: A](implicit ord: math.Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def min[B >: A](implicit ord: math.Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def min[B >: A](implicit ord: math.Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- def minOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def minOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def minOption[B >: A](implicit ord: math.Ordering[B]): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def orElse[A1 <: A, B1 >: B](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- PartialFunction
- def padTo[B >: A](len: Int, elem: B): Array[B]
A copy of this array with an element value appended until a given target length is reached.
A copy of this array with an element value appended until a given target length is reached.
- B
the element type of the returned array.
- len
the target length
- elem
the padding value
- returns
a new array consisting of all elements of this array followed by the minimal number of occurrences of
elem
so that the resulting collection has a length of at leastlen
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def padTo[B >: A](len: Int, elem: B): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- def partitionMap[A1, A2](f: (A) => Either[A1, A2]): (Array[A1], Array[A2])
Applies a function
f
to each element of the array and returns a pair of arrays: the first one made of those values returned byf
that were wrapped in scala.util.Left, and the second one made of those wrapped in scala.util.Right.Applies a function
f
to each element of the array and returns a pair of arrays: the first one made of those values returned byf
that were wrapped in scala.util.Left, and the second one made of those wrapped in scala.util.Right.Example:
val xs = js.Array(1, "one", 2, "two", 3, "three").partitionMap { case i: Int => Left(i) case s: String => Right(s) } // xs == (js.Array(1, 2, 3), // js.Array("one", "two", "three"))
- A1
the element type of the first resulting collection
- A2
the element type of the second resulting collection
- f
the 'split function' mapping the elements of this array to an scala.util.Either
- returns
a pair of arrays: the first one made of those values returned by
f
that were wrapped in scala.util.Left, and the second one made of those wrapped in scala.util.Right.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def partitionMap[A1, A2](f: (A) => Either[A1, A2]): (WrappedArray[A1], WrappedArray[A2])
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def patch[B >: A](from: Int, other: collection.IterableOnce[B], replaced: Int): Array[B]
Returns a copy of this array with patched values.
Returns a copy of this array with patched values.
Patching at negative indices is the same as patching starting at 0. Patching at indices at or larger than the length of the original array appends the patch to the end. If more values are replaced than actually exist, the excess is ignored.
- from
The start index from which to patch
- other
The patch values
- replaced
The number of values in the original array that are replaced by the patch.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def patch[B >: A](from: Int, other: collection.IterableOnce[B], replaced: Int): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- def pop(): A
The pop() method removes the last element from an array and returns that element.
The pop() method removes the last element from an array and returns that element.
MDN
- def prepended[B >: A](x: B): Array[B]
A copy of this array with an element prepended.
A copy of this array with an element prepended.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def prepended[B >: A](elem: B): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IndexedSeqOps → SeqOps
- def prependedAll[B >: A](prefix: Array[_ <: B]): Array[B]
A copy of this array with all elements of an array prepended.
A copy of this array with all elements of an array prepended.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def prependedAll[B >: A](prefix: collection.IterableOnce[B]): Array[B]
A copy of this array with all elements of a collection prepended.
A copy of this array with all elements of a collection prepended.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def prependedAll[B >: A](prefix: collection.IterableOnce[B]): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- def product[B >: A](implicit num: math.Numeric[B]): B
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def product[B >: A](implicit num: math.Numeric[B]): B
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def product[B >: A](implicit num: math.Numeric[B]): B
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- def propertyIsEnumerable(v: String): Boolean
Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain.
Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain.
If the object does not have the specified property, this method returns false.
MDN
- Definition Classes
- Object
- def push(items: A*): Int
The push() method mutates an array by appending the given elements and returning the new length of the array.
The push() method mutates an array by appending the given elements and returning the new length of the array.
MDN
- def reduce[B >: A](op: (B, B) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def reduce[B >: A](op: (B, B) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def reduce[B >: A](op: (B, B) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- def reduceLeft[B >: A](op: (B, A) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def reduceLeft[B >: A](op: (B, A) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def reduceLeft[B >: A](op: (B, A) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- def reduceLeftOption[B >: A](op: (B, A) => B): Option[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def reduceLeftOption[B >: A](op: (B, A) => B): Option[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def reduceLeftOption[B >: A](op: (B, A) => B): Option[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- def reduceOption[B >: A](op: (B, B) => B): Option[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def reduceOption[B >: A](op: (B, B) => B): Option[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def reduceOption[B >: A](op: (B, B) => B): Option[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- def reduceRight[B >: A](op: (A, B) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def reduceRight[B >: A](op: (A, B) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def reduceRight[B >: A](op: (A, B) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: A](op: (A, B) => B): Option[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: A](op: (A, B) => B): Option[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: A](op: (A, B) => B): Option[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- def result(): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- WrappedArray → Builder
- Annotations
- @inline()
- def reverseInPlace(): Array[A]
The reverse() method reverses an array in place.
The reverse() method reverses an array in place. The first array element becomes the last and the last becomes the first.
MDN
- Annotations
- @JSName(name = "reverse")
- def runWith[U](action: (A) => U): (Int) => Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- PartialFunction
- def sameElements[B >: A](that: collection.IterableOnce[B]): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- def scan[B >: A](z: B)(op: (B, B) => B): Array[B]
Computes a prefix scan of the elements of the array.
Computes a prefix scan of the elements of the array.
Note: The neutral element
z
may be applied more than once.- B
element type of the resulting array
- z
neutral element for the operator
op
- op
the associative operator for the scan
- returns
a new array containing the prefix scan of the elements in this array
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def scan[B >: A](z: B)(op: (B, B) => B): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOps
- def scan[B >: A](z: B)(op: (B, B) => B): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOps
- def scan[B >: A](z: B)(op: (B, B) => B): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOps
- def scanLeft[B](z: B)(op: (B, A) => B): Array[B]
Produces an array containing cumulative results of applying the binary operator going left to right.
Produces an array containing cumulative results of applying the binary operator going left to right.
- B
the result type of the binary operator.
- z
the start value.
- op
the binary operator.
- returns
array with intermediate values. Example:
js.Array(1, 2, 3, 4).scanLeft(0)(_ + _) == js.Array(0, 1, 3, 6, 10)
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def scanLeft[B](z: B)(op: (B, A) => B): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def scanRight[B](z: B)(op: (A, B) => B): Array[B]
Produces an array containing cumulative results of applying the binary operator going right to left.
Produces an array containing cumulative results of applying the binary operator going right to left.
- B
the result type of the binary operator.
- z
the start value.
- op
the binary operator.
- returns
array with intermediate values. Example:
js.Array(4, 3, 2, 1).scanRight(0)(_ + _) == js.Array(10, 6, 3, 1, 0)
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def search[B >: A](elem: B, from: Int, to: Int)(implicit ord: math.Ordering[B]): SearchResult
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IndexedSeqOps → SeqOps
- def search[B >: A](elem: B)(implicit ord: math.Ordering[B]): SearchResult
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IndexedSeqOps → SeqOps
- def segmentLength(p: (A) => Boolean, from: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- final def segmentLength(p: (A) => Boolean): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- def shift(): A
The shift() method removes the first element from an array and returns that element.
The shift() method removes the first element from an array and returns that element. This method changes the length of the array.
MDN
- final def sizeHint(coll: collection.IterableOnce[_], delta: Int): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- Builder
- def sizeHint(size: Int): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- Builder
- final def sizeHintBounded(size: Int, boundingColl: collection.Iterable[_]): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- Builder
- def sort(compareFn: Function2[A, A, Int] = ???): Array[A]
The sort() method sorts the elements of an array in place and returns the array.
The sort() method sorts the elements of an array in place and returns the array. The sort is not necessarily stable. The default sort order is lexicographic (not numeric).
If compareFunction is not supplied, elements are sorted by converting them to strings and comparing strings in lexicographic ("dictionary" or "telephone book," not numerical) order. For example, "80" comes before "9" in lexicographic order, but in a numeric sort 9 comes before 80.
MDN
- def sortBy[B](f: (A) => B)(implicit ord: Ordering[B]): Array[A]
Sorts this array according to the Ordering which results from transforming an implicitly given Ordering with a transformation function.
Sorts this array according to the Ordering which results from transforming an implicitly given Ordering with a transformation function.
- B
the target type of the transformation
f
, and the type where the orderingord
is defined.- f
the transformation function mapping elements to some other domain
B
.- ord
the ordering assumed on domain
B
.- returns
an array consisting of the elements of this array sorted according to the ordering where
x < y
iford.lt(f(x), f(y))
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- See also
- def sortBy[B](f: (A) => B)(implicit ord: Ordering[B]): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- def sortInPlace[B >: A]()(implicit ord: math.Ordering[B]): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IndexedSeqOps
- def sortInPlaceBy[B](f: (A) => B)(implicit ord: math.Ordering[B]): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IndexedSeqOps
- def sortInPlaceWith(lt: (A, A) => Boolean): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IndexedSeqOps
- def sorted[B >: A](implicit ord: Ordering[B]): Array[A]
Sorts this array according to an Ordering.
Sorts this array according to an Ordering.
The sort is stable. That is, elements that are equal (as determined by
lt
) appear in the same order in the sorted sequence as in the original.- ord
the ordering to be used to compare elements.
- returns
an array consisting of the elements of this array sorted according to the ordering
ord
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- See also
- def sorted[B >: A](implicit ord: Ordering[B]): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- def splice(index: Int, deleteCount: Int, items: A*): Array[A]
Removes and adds new elements at a given index in the array.
Removes and adds new elements at a given index in the array.
This method first removes
deleteCount
elements starting from the indexindex
, then inserts the new elementsitems
at that index.If
index
is negative, it is treated as that number of elements starting from the end of the array.- index
Index where to start changes
- deleteCount
Number of elements to delete from index
- items
Elements to insert at index
- returns
An array of the elements that were deleted
- def startsWith[B >: A](that: collection.IterableOnce[B], offset: Int = 0): Boolean
Tests whether this array contains the given sequence at a given index.
Tests whether this array contains the given sequence at a given index.
- that
the sequence to test
- offset
the index where the sequence is searched.
- returns
true
if the sequencethat
is contained in this array at indexoffset
, otherwisefalse
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def startsWith[B >: A](that: Array[B], offset: Int): Boolean
Tests whether this array contains the given array at a given index.
Tests whether this array contains the given array at a given index.
- that
the array to test
- offset
the index where the array is searched.
- returns
true
if the arraythat
is contained in this array at indexoffset
, otherwisefalse
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def startsWith[B >: A](that: Array[B]): Boolean
Tests whether this array starts with the given array.
Tests whether this array starts with the given array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def startsWith[B >: A](that: collection.IterableOnce[B], offset: Int): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[A, S]): S with EfficientSplit
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IndexedSeqOps → IterableOnce
- def sum[B >: A](implicit num: math.Numeric[B]): B
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def sum[B >: A](implicit num: math.Numeric[B]): B
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def sum[B >: A](implicit num: math.Numeric[B]): B
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tapEach[U](f: (A) => U): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def toArray[B >: A](implicit arg0: ClassTag[B]): scala.Array[B]
Create a copy of this array as a Scala array.
Create a copy of this array as a Scala array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def toArray[B >: A](implicit arg0: ClassTag[B]): scala.Array[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def toArray[B >: A](implicit arg0: ClassTag[B]): scala.Array[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- def toArray[B >: A](implicit arg0: ClassTag[B]): scala.Array[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def transpose[B](implicit asArray: (A) => Array[B]): Array[Array[B]]
Transposes a two dimensional array.
Transposes a two dimensional array.
- B
Type of row elements.
- asArray
A function that converts elements of this array to rows - arrays of type
B
.- returns
An array obtained by replacing elements of this arrays with rows the represent.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def unapply(a: Int): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- PartialFunction
- def unshift(items: A*): Int
The unshift() method adds one or more elements to the beginning of an array and returns the new length of the array.
The unshift() method adds one or more elements to the beginning of an array and returns the new length of the array.
MDN
- def unzip[A1, A2](implicit asPair: (A) => (A1, A2)): (Array[A1], Array[A2])
Converts an array of pairs into an array of first elements and an array of second elements.
Converts an array of pairs into an array of first elements and an array of second elements.
- A1
the type of the first half of the element pairs
- A2
the type of the second half of the element pairs
- asPair
an implicit conversion which asserts that the element type of this array is a pair.
- returns
a pair of Arrays, containing, respectively, the first and second half of each element pair of this array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def unzip[A1, A2](implicit asPair: (A) => (A1, A2)): (WrappedArray[A1], WrappedArray[A2])
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: (A) => (A1, A2, A3)): (Array[A1], Array[A2], Array[A3])
Converts an array of triples into three arrays, one containing the elements from each position of the triple.
Converts an array of triples into three arrays, one containing the elements from each position of the triple.
- A1
the type of the first of three elements in the triple
- A2
the type of the second of three elements in the triple
- A3
the type of the third of three elements in the triple
- asTriple
an implicit conversion which asserts that the element type of this array is a triple.
- returns
a triple of Arrays, containing, respectively, the first, second, and third elements from each element triple of this array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def unzip3[A1, A2, A3](implicit asTriple: (A) => (A1, A2, A3)): (WrappedArray[A1], WrappedArray[A2], WrappedArray[A3])
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def update(index: Int, value: A): Unit
Set the element at the given index.
Set the element at the given index.
- Annotations
- @JSBracketAccess()
- def updated[B >: A](index: Int, elem: B): Array[B]
A copy of this array with one single replaced element.
A copy of this array with one single replaced element.
- index
the position of the replacement
- elem
the replacing element
- returns
a new array which is a copy of this array with the element at position
index
replaced byelem
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- Exceptions thrown
IndexOutOfBoundsException
ifindex
does not satisfy0 <= index < length
.
- def updated[B >: A](index: Int, elem: B): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- def valueOf(): scala.Any
- Definition Classes
- Object
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- def zip[B](that: collection.IterableOnce[B]): Array[(A, B)]
Returns an array formed from this array and another iterable collection by combining corresponding elements in pairs.
Returns an array formed from this array and another iterable collection by combining corresponding elements in pairs.
If one of the two collections is longer than the other, its remaining elements are ignored.
- B
the type of the second half of the returned pairs
- that
The iterable providing the second half of each result pair
- returns
a new array containing pairs consisting of corresponding elements of this array and
that
. The length of the returned array is the minimum of the lengths of this array andthat
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def zip[B](that: collection.IterableOnce[B]): WrappedArray[(A, B)]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def zipAll[A1 >: A, B](that: collection.Iterable[B], thisElem: A1, thatElem: B): Array[(A1, B)]
Returns an array formed from this array and another iterable collection by combining corresponding elements in pairs.
Returns an array formed from this array and another iterable collection by combining corresponding elements in pairs.
If one of the two collections is shorter than the other, placeholder elements are used to extend the shorter collection to the length of the longer.
- that
the iterable providing the second half of each result pair
- thisElem
the element to be used to fill up the result if this array is shorter than
that
.- thatElem
the element to be used to fill up the result if
that
is shorter than this array.- returns
a new array containing pairs consisting of corresponding elements of this array and
that
. The length of the returned array is the maximum of the lengths of this array andthat
. If this array is shorter thanthat
,thisElem
values are used to pad the result. Ifthat
is shorter than this array,thatElem
values are used to pad the result.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Definition Classes
- ArrayOps
- def zipAll[A1 >: A, B](that: collection.Iterable[B], thisElem: A1, thatElem: B): WrappedArray[(A1, B)]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOps
- def zipAll[A1 >: A, B](that: collection.Iterable[B], thisElem: A1, thatElem: B): collection.Iterable[(A1, B)]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOps
- def zipAll[A1 >: A, B](that: collection.Iterable[B], thisElem: A1, thatElem: B): collection.Iterable[(A1, B)]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOps
Shadowed Implicit Value Members
- final def ++=(ys: collection.IterableOnce[A]): Array[A]
Alias for
addAll
Alias for
addAll
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).++=(ys)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def ++=(xs: collection.IterableOnce[A]): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).++=(xs)
- Definition Classes
- Growable
- Annotations
- @inline()
- final def ++=:(elems: collection.IterableOnce[A]): Array[A]
Alias for
prependAll
Alias for
prependAll
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).++=:(elems)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def ++=:(elems: collection.IterableOnce[A]): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).++=:(elems)
- Definition Classes
- Buffer
- Annotations
- @inline()
- final def +=(elem: A): Array[A]
Alias for
addOne
Alias for
addOne
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).+=(elem)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def +=(elem: A): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).+=(elem)
- Definition Classes
- Growable
- Annotations
- @inline()
- final def +=:(elem: A): Array[A]
Alias for
prepend
Alias for
prepend
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).+=:(elem)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def +=:(elem: A): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).+=:(elem)
- Definition Classes
- Buffer
- Annotations
- @inline()
- final def --=(ys: collection.IterableOnce[A]): Array[A]
Alias for
subtractAll
Alias for
subtractAll
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).--=(ys)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def --=(xs: collection.IterableOnce[A]): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).--=(xs)
- Definition Classes
- Shrinkable
- Annotations
- @inline()
- final def -=(elem: A): Array[A]
Alias for
subtractOne
Alias for
subtractOne
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).-=(elem)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def -=(elem: A): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).-=(elem)
- Definition Classes
- Shrinkable
- Annotations
- @inline()
- def addAll(ys: collection.IterableOnce[A]): Array[A]
Adds all elements produced by an IterableOnce to this array.
Adds all elements produced by an IterableOnce to this array.
- returns
the array itself.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).addAll(ys)
- Definition Classes
- ArrayOps
- def addAll(xs: collection.IterableOnce[A]): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).addAll(xs)
- Definition Classes
- Growable
- def addOne(elem: A): Array[A]
Appends a single element to this array.
Appends a single element to this array.
- elem
the element to add.
- returns
the array itself
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).addOne(elem)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def addOne(elem: A): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).addOne(elem)
- Definition Classes
- WrappedArray → Growable
- Annotations
- @inline()
- final def addString(b: collection.mutable.StringBuilder): collection.mutable.StringBuilder
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).addString(b)
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def addString(b: collection.mutable.StringBuilder, sep: String): collection.mutable.StringBuilder
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).addString(b, sep)
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def addString(b: collection.mutable.StringBuilder, start: String, sep: String, end: String): collection.mutable.StringBuilder
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).addString(b, start, sep, end)
- Definition Classes
- IterableOnceOps
- final def addString(b: collection.mutable.StringBuilder): collection.mutable.StringBuilder
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).addString(b)
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def addString(b: collection.mutable.StringBuilder, sep: String): collection.mutable.StringBuilder
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).addString(b, sep)
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def addString(b: collection.mutable.StringBuilder, start: String, sep: String, end: String): collection.mutable.StringBuilder
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).addString(b, start, sep, end)
- Definition Classes
- IterableOnceOps
- final def addString(b: collection.mutable.StringBuilder): collection.mutable.StringBuilder
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).addString(b)
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def addString(b: collection.mutable.StringBuilder, sep: String): collection.mutable.StringBuilder
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).addString(b, sep)
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def addString(b: collection.mutable.StringBuilder, start: String, sep: String, end: String): collection.mutable.StringBuilder
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).addString(b, start, sep, end)
- Definition Classes
- IterableOnceOps
- final def append(elem: A): Array[A]
Appends the given element to this array.
Appends the given element to this array.
- elem
the element to append.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).append(elem)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def append(elem: A): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).append(elem)
- Definition Classes
- Buffer
- Annotations
- @inline()
- final def appendAll(ys: collection.IterableOnce[A]): Array[A]
Appends the elements contained in an iterable object to this array.
Appends the elements contained in an iterable object to this array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).appendAll(ys)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def appendAll(xs: collection.IterableOnce[A]): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).appendAll(xs)
- Definition Classes
- Buffer
- Annotations
- @inline()
- def apply(index: Int): A
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(array: WrappedArray[A]).apply(index)
- Definition Classes
- WrappedArray → SeqOps → Function1
- Annotations
- @inline()
- def clear(): Unit
Clears the array's contents.
Clears the array's contents.
After this operation, the array is empty.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).clear()
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def clear(): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).clear()
- Definition Classes
- WrappedArray → Builder → Clearable
- Annotations
- @inline()
- def clone(): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(array: WrappedArray[A]).clone()
- Definition Classes
- SeqOps → Cloneable → AnyRef
- def collect[B](pf: PartialFunction[A, B]): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).collect(pf)
- Definition Classes
- IterableOps → IterableOnceOps
- def collect[B](pf: PartialFunction[A, B]): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).collect(pf)
- Definition Classes
- IterableOps → IterableOnceOps
- def collectFirst[B](pf: PartialFunction[A, B]): Option[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).collectFirst(pf)
- Definition Classes
- IterableOnceOps
- def collectFirst[B](pf: PartialFunction[A, B]): Option[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).collectFirst(pf)
- Definition Classes
- IterableOnceOps
- def collectFirst[B](pf: PartialFunction[A, B]): Option[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).collectFirst(pf)
- Definition Classes
- IterableOnceOps
- def combinations(n: Int): collection.Iterator[Array[A]]
Iterates over combinations.
Iterates over combinations.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).combinations(n)
- Definition Classes
- ArrayOps
- def combinations(n: Int): collection.Iterator[WrappedArray[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).combinations(n)
- Definition Classes
- SeqOps
- final def concat[B >: A](suffix: collection.IterableOnce[B]): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(array: WrappedArray[A]).concat(suffix)
- Definition Classes
- SeqOps → IterableOps
- Annotations
- @inline()
- def concat[B >: A](suffix: collection.IterableOnce[B]): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(array: IterableOps[A]).concat(suffix)
- Definition Classes
- IterableOps
- def concat[B >: A](suffix: collection.IterableOnce[B]): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(array: collection.Iterable[A]).concat(suffix)
- Definition Classes
- IterableOps
- def contains(elem: A): Boolean
Tests whether this array contains a given value as an element.
Tests whether this array contains a given value as an element.
- elem
the element to test.
- returns
true
if this array has an element that is equal (as determined by==
) toelem
,false
otherwise.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).contains(elem)
- Definition Classes
- ArrayOps
- def contains[A1 >: A](elem: A1): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).contains(elem)
- Definition Classes
- SeqOps
- def corresponds[B](that: collection.IterableOnce[B])(p: (A, B) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).corresponds(that)(p)
- Definition Classes
- IterableOnceOps
- def corresponds[B](that: collection.IterableOnce[B])(p: (A, B) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).corresponds(that)(p)
- Definition Classes
- IterableOnceOps
- def corresponds[B](that: collection.IterableOnce[B])(p: (A, B) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).corresponds(that)(p)
- Definition Classes
- IterableOnceOps
- def count(p: (A) => Boolean): Int
Counts the number of elements in this array which satisfy a predicate.
Counts the number of elements in this array which satisfy a predicate.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).count(p)
- Definition Classes
- ArrayOps
- def count(p: (A) => Boolean): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).count(p)
- Definition Classes
- IterableOnceOps
- def count(p: (A) => Boolean): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).count(p)
- Definition Classes
- IterableOnceOps
- def count(p: (A) => Boolean): Int
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).count(p)
- Definition Classes
- IterableOnceOps
- def distinct: Array[A]
Selects all the elements of this array ignoring the duplicates.
Selects all the elements of this array ignoring the duplicates.
- returns
a new array consisting of all the elements of this array without duplicates.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).distinct
- Definition Classes
- ArrayOps
- def distinct: WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).distinct
- Definition Classes
- SeqOps
- def drop(n: Int): Array[A]
The rest of the array without its
n
first elements.The rest of the array without its
n
first elements.- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).drop(n)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def drop(n: Int): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).drop(n)
- Definition Classes
- IndexedSeqOps → IterableOps → IterableOnceOps
- def drop(n: Int): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).drop(n)
- Definition Classes
- IterableOps → IterableOnceOps
- def drop(n: Int): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).drop(n)
- Definition Classes
- IterableOps → IterableOnceOps
- def dropInPlace(n: Int): Array[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).dropInPlace(n)
- Definition Classes
- ArrayOps
- def dropInPlace(n: Int): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).dropInPlace(n)
- Definition Classes
- Buffer
- def dropRight(n: Int): Array[A]
The rest of the array without its
n
last elements.The rest of the array without its
n
last elements.- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).dropRight(n)
- Definition Classes
- ArrayOps
- def dropRight(n: Int): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).dropRight(n)
- Definition Classes
- IndexedSeqOps → IterableOps
- def dropRight(n: Int): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).dropRight(n)
- Definition Classes
- IterableOps
- def dropRight(n: Int): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).dropRight(n)
- Definition Classes
- IterableOps
- def dropRightInPlace(n: Int): Array[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).dropRightInPlace(n)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def dropRightInPlace(n: Int): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).dropRightInPlace(n)
- Definition Classes
- Buffer
- def dropWhile(p: (A) => Boolean): Array[A]
Drops the longest prefix of elements that satisfy a predicate.
Drops the longest prefix of elements that satisfy a predicate.
- p
The predicate used to test elements.
- returns
the longest suffix of this array whose first element does not satisfy the predicate
p
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).dropWhile(p)
- Definition Classes
- ArrayOps
- def dropWhile(p: (A) => Boolean): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).dropWhile(p)
- Definition Classes
- IterableOps → IterableOnceOps
- def dropWhile(p: (A) => Boolean): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).dropWhile(p)
- Definition Classes
- IterableOps → IterableOnceOps
- def dropWhile(p: (A) => Boolean): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).dropWhile(p)
- Definition Classes
- IterableOps → IterableOnceOps
- def dropWhileInPlace(p: (A) => Boolean): Array[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).dropWhileInPlace(p)
- Definition Classes
- ArrayOps
- def dropWhileInPlace(p: (A) => Boolean): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).dropWhileInPlace(p)
- Definition Classes
- Buffer
- def empty: WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).empty
- Definition Classes
- IterableFactoryDefaults → IterableOps
- def empty: collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).empty
- Definition Classes
- IterableFactoryDefaults → IterableOps
- def empty: collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).empty
- Definition Classes
- IterableFactoryDefaults → IterableOps
- def equals(o: scala.Any): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(array: WrappedArray[A]).equals(o)
- Definition Classes
- Seq → Equals → AnyRef → Any
- def exists(f: (A) => Boolean): Boolean
Tests whether a predicate holds for at least one element of this array.
Tests whether a predicate holds for at least one element of this array.
- returns
true
if the given predicatep
is satisfied by at least one element of this array, otherwisefalse
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).exists(f)
- Definition Classes
- ArrayOps
- def exists(p: (A) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).exists(p)
- Definition Classes
- IterableOnceOps
- def exists(p: (A) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).exists(p)
- Definition Classes
- IterableOnceOps
- def exists(p: (A) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).exists(p)
- Definition Classes
- IterableOnceOps
- def filter(p: (A) => Boolean): Array[A]
Selects all elements of this array which satisfy a predicate.
Selects all elements of this array which satisfy a predicate.
- p
the predicate used to test elements.
- returns
a new array consisting of all elements of this array that satisfy the given predicate
p
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).filter(p)
- Definition Classes
- ArrayOps
- def filter(pred: (A) => Boolean): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).filter(pred)
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def filter(pred: (A) => Boolean): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).filter(pred)
- Definition Classes
- IterableOps → IterableOnceOps
- def filter(pred: (A) => Boolean): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).filter(pred)
- Definition Classes
- IterableOps → IterableOnceOps
- def filterInPlace(p: (A) => Boolean): Array[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).filterInPlace(p)
- Definition Classes
- ArrayOps
- def filterInPlace(p: (A) => Boolean): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).filterInPlace(p)
- Definition Classes
- IndexedBuffer
- def filterNot(p: (A) => Boolean): Array[A]
Selects all elements of this array which do not satisfy a predicate.
Selects all elements of this array which do not satisfy a predicate.
- returns
a new array consisting of all elements of this array that do not satisfy the given predicate
pred
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).filterNot(p)
- Definition Classes
- ArrayOps
- def filterNot(pred: (A) => Boolean): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).filterNot(pred)
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def filterNot(pred: (A) => Boolean): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).filterNot(pred)
- Definition Classes
- IterableOps → IterableOnceOps
- def filterNot(pred: (A) => Boolean): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).filterNot(pred)
- Definition Classes
- IterableOps → IterableOnceOps
- def find(f: (A) => Boolean): Option[A]
Finds the first element of the array satisfying a predicate, if any.
Finds the first element of the array satisfying a predicate, if any.
- returns
an option value containing the first element in the array that satisfies
p
, orNone
if none exists.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).find(f)
- Definition Classes
- ArrayOps
- def find(p: (A) => Boolean): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).find(p)
- Definition Classes
- IterableOnceOps
- def find(p: (A) => Boolean): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).find(p)
- Definition Classes
- IterableOnceOps
- def find(p: (A) => Boolean): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).find(p)
- Definition Classes
- IterableOnceOps
- def flatMap[B](f: (A) => collection.IterableOnce[B]): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).flatMap(f)
- Definition Classes
- IterableOps → IterableOnceOps
- def flatMap[B](f: (A) => collection.IterableOnce[B]): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).flatMap(f)
- Definition Classes
- IterableOps → IterableOnceOps
- def flatMapInPlace(f: (A) => collection.IterableOnce[A]): Array[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).flatMapInPlace(f)
- Definition Classes
- ArrayOps
- def flatMapInPlace(f: (A) => collection.IterableOnce[A]): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).flatMapInPlace(f)
- Definition Classes
- IndexedBuffer
- def flatten[B](implicit asIterable: (A) => collection.IterableOnce[B]): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).flatten(asIterable)
- Definition Classes
- IterableOps → IterableOnceOps
- def flatten[B](implicit asIterable: (A) => collection.IterableOnce[B]): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).flatten(asIterable)
- Definition Classes
- IterableOps → IterableOnceOps
- def foldLeft[B](z: B)(op: (B, A) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).foldLeft(z)(op)
- Definition Classes
- IterableOnceOps
- def foldLeft[B](z: B)(op: (B, A) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).foldLeft(z)(op)
- Definition Classes
- IterableOnceOps
- def foldLeft[B](z: B)(op: (B, A) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).foldLeft(z)(op)
- Definition Classes
- IterableOnceOps
- def foldRight[B](z: B)(op: (A, B) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).foldRight(z)(op)
- Definition Classes
- IterableOnceOps
- def foldRight[B](z: B)(op: (A, B) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).foldRight(z)(op)
- Definition Classes
- IterableOnceOps
- def forall(f: (A) => Boolean): Boolean
Tests whether a predicate holds for all elements of this array.
Tests whether a predicate holds for all elements of this array.
- returns
true
if this array is empty or the given predicatep
holds for all elements of this array, otherwisefalse
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).forall(f)
- Definition Classes
- ArrayOps
- def forall(p: (A) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).forall(p)
- Definition Classes
- IterableOnceOps
- def forall(p: (A) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).forall(p)
- Definition Classes
- IterableOnceOps
- def forall(p: (A) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).forall(p)
- Definition Classes
- IterableOnceOps
- def foreach[U](f: (A) => U): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).foreach(f)
- Definition Classes
- IterableOnceOps
- def foreach[U](f: (A) => U): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).foreach(f)
- Definition Classes
- IterableOnceOps
- def foreach[U](f: (A) => U): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).foreach(f)
- Definition Classes
- IterableOnceOps
- def groupBy[K](f: (A) => K): collection.immutable.Map[K, WrappedArray[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).groupBy(f)
- Definition Classes
- IterableOps
- def groupBy[K](f: (A) => K): collection.immutable.Map[K, collection.Iterable[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).groupBy(f)
- Definition Classes
- IterableOps
- def groupBy[K](f: (A) => K): collection.immutable.Map[K, collection.Iterable[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).groupBy(f)
- Definition Classes
- IterableOps
- def groupMap[K, B](key: (A) => K)(f: (A) => B): collection.immutable.Map[K, WrappedArray[B]]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).groupMap(key)(f)
- Definition Classes
- IterableOps
- def groupMap[K, B](key: (A) => K)(f: (A) => B): collection.immutable.Map[K, collection.Iterable[B]]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).groupMap(key)(f)
- Definition Classes
- IterableOps
- def groupMap[K, B](key: (A) => K)(f: (A) => B): collection.immutable.Map[K, collection.Iterable[B]]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).groupMap(key)(f)
- Definition Classes
- IterableOps
- def groupMapReduce[K, B](key: (A) => K)(f: (A) => B)(reduce: (B, B) => B): collection.immutable.Map[K, B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).groupMapReduce(key)(f)(reduce)
- Definition Classes
- IterableOps
- def groupMapReduce[K, B](key: (A) => K)(f: (A) => B)(reduce: (B, B) => B): collection.immutable.Map[K, B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).groupMapReduce(key)(f)(reduce)
- Definition Classes
- IterableOps
- def groupMapReduce[K, B](key: (A) => K)(f: (A) => B)(reduce: (B, B) => B): collection.immutable.Map[K, B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).groupMapReduce(key)(f)(reduce)
- Definition Classes
- IterableOps
- def grouped(size: Int): collection.Iterator[Array[A]]
Partitions elements in fixed size arrays.
Partitions elements in fixed size arrays.
- size
the number of elements per group
- returns
An iterator producing arrays of size
size
, except the last will be less than sizesize
if the elements don't divide evenly.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).grouped(size)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- See also
scala.collection.Iterator, method
grouped
- def grouped(size: Int): collection.Iterator[WrappedArray[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).grouped(size)
- Definition Classes
- IterableOps
- def grouped(size: Int): collection.Iterator[collection.Iterable[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).grouped(size)
- Definition Classes
- IterableOps
- def grouped(size: Int): collection.Iterator[collection.Iterable[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).grouped(size)
- Definition Classes
- IterableOps
- def hashCode(): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(array: WrappedArray[A]).hashCode()
- Definition Classes
- Seq → AnyRef → Any
- def head: A
Selects the first element of this array.
Selects the first element of this array.
- returns
the first element of this array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).head
- Definition Classes
- ArrayOps
- Exceptions thrown
NoSuchElementException
if the array is empty.
- def head: A
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).head
- Definition Classes
- IndexedSeqOps → IterableOps
- def head: A
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).head
- Definition Classes
- IterableOps
- def head: A
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).head
- Definition Classes
- IterableOps
- def headOption: Option[A]
Optionally selects the first element.
Optionally selects the first element.
- returns
the first element of this array if it is nonempty,
None
if it is empty.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).headOption
- Definition Classes
- ArrayOps
- def headOption: Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).headOption
- Definition Classes
- IndexedSeqOps → IterableOps
- def headOption: Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).headOption
- Definition Classes
- IterableOps
- def headOption: Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).headOption
- Definition Classes
- IterableOps
- def indexOf(elem: A, from: Int = 0): Int
Finds the index of the first occurrence of some value in this array after or at some start index.
Finds the index of the first occurrence of some value in this array after or at some start index.
- elem
the element value to search for.
- from
the start index
- returns
the index
>= from
of the first element of this array that is equal (as determined by==
) toelem
, or-1
, if none exists.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).indexOf(elem, from)
- Definition Classes
- ArrayOps
- def indexOf[B >: A](elem: B, from: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).indexOf(elem, from)
- Definition Classes
- SeqOps
- def indexWhere(f: (A) => Boolean, from: Int = 0): Int
Finds the index of the first element satisfying some predicate after or at some start index.
Finds the index of the first element satisfying some predicate after or at some start index.
- from
the start index
- returns
the index
>= from
of the first element of this array that satisfies the predicatep
, or-1
, if none exists.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).indexWhere(f, from)
- Definition Classes
- ArrayOps
- def indexWhere(p: (A) => Boolean, from: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).indexWhere(p, from)
- Definition Classes
- SeqOps
- def indices: Range
Produces the range of all indices of this sequence.
Produces the range of all indices of this sequence.
- returns
a
Range
value from0
to one less than the length of this array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).indices
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def indices: collection.immutable.Range
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).indices
- Definition Classes
- SeqOps
- def init: Array[A]
The initial part of the array without its last element.
The initial part of the array without its last element.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).init
- Definition Classes
- ArrayOps
- def init: WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).init
- Definition Classes
- IterableOps
- def init: collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).init
- Definition Classes
- IterableOps
- def init: collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).init
- Definition Classes
- IterableOps
- def inits: collection.Iterator[Array[A]]
Iterates over the inits of this array.
Iterates over the inits of this array.
The first value will be this array and the final one will be an empty array, with the intervening values the results of successive applications of
init
.- returns
an iterator over all the inits of this array
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).inits
- Definition Classes
- ArrayOps
- def inits: collection.Iterator[WrappedArray[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).inits
- Definition Classes
- IterableOps
- def inits: collection.Iterator[collection.Iterable[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).inits
- Definition Classes
- IterableOps
- def inits: collection.Iterator[collection.Iterable[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).inits
- Definition Classes
- IterableOps
- def insert(idx: Int, elem: A): Unit
Inserts a new element at a given index into this array.
Inserts a new element at a given index into this array.
- idx
the index where the new elements is inserted.
- elem
the element to insert.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).insert(idx, elem)
- Definition Classes
- ArrayOps
- Exceptions thrown
IndexOutOfBoundsException
if the indexidx
is not in the valid range0 <= idx <= length
.
- def insert(idx: Int, elem: A): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).insert(idx, elem)
- Definition Classes
- WrappedArray → Buffer
- Annotations
- @inline()
- def insertAll(idx: Int, elems: collection.IterableOnce[A]): Unit
Inserts new elements at the index
idx
.Inserts new elements at the index
idx
.As opposed to the method
update
, this method will not replace an element with a new one. Instead, it will insert a new element at indexidx
.- idx
the index where a new element will be inserted.
- elems
the iterable object providing all elements to insert.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).insertAll(idx, elems)
- Definition Classes
- ArrayOps
- Exceptions thrown
IndexOutOfBoundsException
ifidx
is out of bounds.
- def insertAll(n: Int, elems: collection.IterableOnce[A]): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).insertAll(n, elems)
- Definition Classes
- WrappedArray → Buffer
- Annotations
- @inline()
- def isEmpty: Boolean
Tests whether the array is empty.
Tests whether the array is empty.
- returns
true
if the array contains no elements,false
otherwise.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).isEmpty
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def isEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).isEmpty
- Definition Classes
- SeqOps → IterableOnceOps
- def isEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).isEmpty
- Definition Classes
- IterableOnceOps
- def isEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).isEmpty
- Definition Classes
- IterableOnceOps
- def isTraversableAgain: Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).isTraversableAgain
- Definition Classes
- IterableOps → IterableOnceOps
- def isTraversableAgain: Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).isTraversableAgain
- Definition Classes
- IterableOps → IterableOnceOps
- def isTraversableAgain: Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).isTraversableAgain
- Definition Classes
- IterableOps → IterableOnceOps
- def iterableFactory: SeqFactory[WrappedArray]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).iterableFactory
- Definition Classes
- WrappedArray → IndexedBuffer → IndexedSeq → IndexedSeq → Buffer → Seq → Iterable → Seq → Iterable → IterableOps
- def iterableFactory: IterableFactory[collection.Iterable]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).iterableFactory
- Definition Classes
- Iterable → IterableOps
- def iterableFactory: IterableFactory[collection.Iterable]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).iterableFactory
- Definition Classes
- Iterable → IterableOps
- def iterator: collection.Iterator[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).iterator
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def iterator: collection.Iterator[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).iterator
- Definition Classes
- IndexedSeqOps → IterableOnce
- def iterator: collection.Iterator[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).iterator
- Definition Classes
- IterableOps → IterableOnce
- Annotations
- @inline()
- def iterator: collection.Iterator[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).iterator
- Definition Classes
- IterableOnce
- def knownSize: Int
The size of this array.
The size of this array.
- returns
the number of elements in this array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).knownSize
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def knownSize: Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).knownSize
- Definition Classes
- WrappedArray → IndexedSeqOps → Buffer → Growable → IterableOnce
- Annotations
- @inline()
- def knownSize: Int
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).knownSize
- Definition Classes
- IterableOnce
- def knownSize: Int
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).knownSize
- Definition Classes
- IterableOnce
- def last: A
Selects the last element of this array.
Selects the last element of this array.
- returns
the last element of this array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).last
- Definition Classes
- ArrayOps
- Exceptions thrown
NoSuchElementException
if the array is empty.
- def last: A
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).last
- Definition Classes
- IndexedSeqOps → IterableOps
- def last: A
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).last
- Definition Classes
- IterableOps
- def last: A
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).last
- Definition Classes
- IterableOps
- def lastIndexOf(elem: A, end: Int = xs.length - 1): Int
Finds the index of the last occurrence of some value in this array before or at a given end index.
Finds the index of the last occurrence of some value in this array before or at a given end index.
- elem
the element value to search for.
- end
the end index.
- returns
the index
<= end
of the last element of this array that is equal (as determined by==
) toelem
, or-1
, if none exists.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).lastIndexOf(elem, end)
- Definition Classes
- ArrayOps
- def lastIndexOf[B >: A](elem: B, end: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).lastIndexOf(elem, end)
- Definition Classes
- SeqOps
- def lastIndexWhere(p: (A) => Boolean, end: Int = xs.length - 1): Int
Finds the index of the last element satisfying some predicate before or at given end index.
Finds the index of the last element satisfying some predicate before or at given end index.
- p
the predicate used to test elements.
- returns
the index
<= end
of the last element of this array that satisfies the predicatep
, or-1
, if none exists.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).lastIndexWhere(p, end)
- Definition Classes
- ArrayOps
- def lastIndexWhere(p: (A) => Boolean, end: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).lastIndexWhere(p, end)
- Definition Classes
- SeqOps
- def lastOption: Option[A]
Optionally selects the last element.
Optionally selects the last element.
- returns
the last element of this array$ if it is nonempty,
None
if it is empty.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).lastOption
- Definition Classes
- ArrayOps
- def lastOption: Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).lastOption
- Definition Classes
- IterableOps
- def lastOption: Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).lastOption
- Definition Classes
- IterableOps
- def lastOption: Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).lastOption
- Definition Classes
- IterableOps
- def lazyZip[B]: ([B](that: Iterable[B]): scala.collection.LazyZip2[A,B,_1.type]) forSome {val _1: WrappedArray[A]}
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).lazyZip
- Definition Classes
- Iterable
- def lazyZip[B]: ([B](that: Iterable[B]): scala.collection.LazyZip2[A,B,_1.type]) forSome {val _1: IterableOps[A]}
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).lazyZip
- Definition Classes
- Iterable
- def lazyZip[B]: ([B](that: Iterable[B]): scala.collection.LazyZip2[A,B,_1.type]) forSome {val _1: collection.Iterable[A]}
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).lazyZip
- Definition Classes
- Iterable
- def length: Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(array: WrappedArray[A]).length
- Definition Classes
- WrappedArray → SeqOps
- Annotations
- @inline()
- def lengthCompare(len: Int): Int
Compares the length of this array to a test value.
Compares the length of this array to a test value.
- len
the test value that gets compared with the length.
- returns
A value
x
wherex < 0 if this.length < len x == 0 if this.length == len x > 0 if this.length > len
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).lengthCompare(len)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def lengthCompare(len: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).lengthCompare(len)
- Definition Classes
- IndexedSeqOps → SeqOps
- def lengthIs: Int
Method mirroring SeqOps.lengthIs for consistency, except it returns an
Int
becauselength
is known and comparison is constant-time.Method mirroring SeqOps.lengthIs for consistency, except it returns an
Int
becauselength
is known and comparison is constant-time.These operations are equivalent to
lengthCompare(Int)
, and allow the following more readable usages:this.lengthIs < len // this.lengthCompare(len) < 0 this.lengthIs <= len // this.lengthCompare(len) <= 0 this.lengthIs == len // this.lengthCompare(len) == 0 this.lengthIs != len // this.lengthCompare(len) != 0 this.lengthIs >= len // this.lengthCompare(len) >= 0 this.lengthIs > len // this.lengthCompare(len) > 0
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).lengthIs
- Definition Classes
- ArrayOps
- final def lengthIs: SizeCompareOps
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).lengthIs
- Definition Classes
- SeqOps
- Annotations
- @inline()
- def map[B](f: (A) => B): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).map(f)
- Definition Classes
- IterableOps → IterableOnceOps
- def map[B](f: (A) => B): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).map(f)
- Definition Classes
- IterableOps → IterableOnceOps
- def mapInPlace(f: (A) => A): Array[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).mapInPlace(f)
- Definition Classes
- ArrayOps
- def mapInPlace(f: (A) => A): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).mapInPlace(f)
- Definition Classes
- IndexedSeqOps
- def maxBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).maxBy(f)(cmp)
- Definition Classes
- IterableOnceOps
- def maxBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).maxBy(f)(cmp)
- Definition Classes
- IterableOnceOps
- def maxBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).maxBy(f)(cmp)
- Definition Classes
- IterableOnceOps
- def maxByOption[B](f: (A) => B)(implicit cmp: math.Ordering[B]): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).maxByOption(f)(cmp)
- Definition Classes
- IterableOnceOps
- def maxByOption[B](f: (A) => B)(implicit cmp: math.Ordering[B]): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).maxByOption(f)(cmp)
- Definition Classes
- IterableOnceOps
- def maxByOption[B](f: (A) => B)(implicit cmp: math.Ordering[B]): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).maxByOption(f)(cmp)
- Definition Classes
- IterableOnceOps
- def minBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).minBy(f)(cmp)
- Definition Classes
- IterableOnceOps
- def minBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).minBy(f)(cmp)
- Definition Classes
- IterableOnceOps
- def minBy[B](f: (A) => B)(implicit cmp: math.Ordering[B]): A
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).minBy(f)(cmp)
- Definition Classes
- IterableOnceOps
- def minByOption[B](f: (A) => B)(implicit cmp: math.Ordering[B]): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).minByOption(f)(cmp)
- Definition Classes
- IterableOnceOps
- def minByOption[B](f: (A) => B)(implicit cmp: math.Ordering[B]): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).minByOption(f)(cmp)
- Definition Classes
- IterableOnceOps
- def minByOption[B](f: (A) => B)(implicit cmp: math.Ordering[B]): Option[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).minByOption(f)(cmp)
- Definition Classes
- IterableOnceOps
- final def mkString: String
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).mkString
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(sep: String): String
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).mkString(sep)
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(start: String, sep: String, end: String): String
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).mkString(start, sep, end)
- Definition Classes
- IterableOnceOps
- final def mkString: String
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).mkString
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(sep: String): String
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).mkString(sep)
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(start: String, sep: String, end: String): String
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).mkString(start, sep, end)
- Definition Classes
- IterableOnceOps
- final def mkString: String
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).mkString
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(sep: String): String
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).mkString(sep)
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(start: String, sep: String, end: String): String
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).mkString(start, sep, end)
- Definition Classes
- IterableOnceOps
- def nonEmpty: Boolean
Tests whether the array is not empty.
Tests whether the array is not empty.
- returns
true
if the array contains at least one element,false
otherwise.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).nonEmpty
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def nonEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).nonEmpty
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
- def nonEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).nonEmpty
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
- def nonEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).nonEmpty
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
- def padToInPlace(len: Int, elem: A): Array[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).padToInPlace(len, elem)
- Definition Classes
- ArrayOps
- def padToInPlace(len: Int, elem: A): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).padToInPlace(len, elem)
- Definition Classes
- Buffer
- def partition(p: (A) => Boolean): (Array[A], Array[A])
A pair of, first, all elements that satisfy predicate
p
and, second, all elements that do not.A pair of, first, all elements that satisfy predicate
p
and, second, all elements that do not.- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).partition(p)
- Definition Classes
- ArrayOps
- def partition(p: (A) => Boolean): (WrappedArray[A], WrappedArray[A])
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).partition(p)
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def partition(p: (A) => Boolean): (collection.Iterable[A], collection.Iterable[A])
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).partition(p)
- Definition Classes
- IterableOps
- def partition(p: (A) => Boolean): (collection.Iterable[A], collection.Iterable[A])
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).partition(p)
- Definition Classes
- IterableOps
- def partitionMap[A1, A2](f: (A) => Either[A1, A2]): (collection.Iterable[A1], collection.Iterable[A2])
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).partitionMap(f)
- Definition Classes
- IterableOps
- def partitionMap[A1, A2](f: (A) => Either[A1, A2]): (collection.Iterable[A1], collection.Iterable[A2])
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).partitionMap(f)
- Definition Classes
- IterableOps
- def patchInPlace(from: Int, patch: collection.IterableOnce[A], replaced: Int): Array[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).patchInPlace(from, patch, replaced)
- Definition Classes
- ArrayOps
- Annotations
- @noinline()
- def patchInPlace(from: Int, patch: collection.IterableOnce[A], replaced: Int): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).patchInPlace(from, patch, replaced)
- Definition Classes
- IndexedBuffer → Buffer
- def permutations: collection.Iterator[Array[A]]
Iterates over distinct permutations.
Iterates over distinct permutations.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).permutations
- Definition Classes
- ArrayOps
- def permutations: collection.Iterator[WrappedArray[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).permutations
- Definition Classes
- SeqOps
- def prepend(elem: A): Array[A]
Prepends a single element at the front of this array.
Prepends a single element at the front of this array.
- elem
the element to add.
- returns
the array itself
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).prepend(elem)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def prepend(elem: A): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).prepend(elem)
- Definition Classes
- WrappedArray → Buffer
- Annotations
- @inline()
- def prependAll(elems: collection.IterableOnce[A]): Array[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).prependAll(elems)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def prependAll(xs: collection.IterableOnce[A]): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).prependAll(xs)
- Definition Classes
- WrappedArray → Buffer
- Annotations
- @inline()
- def remove(idx: Int, count: Int): Unit
Removes consecutive elements starting at a given index position.
Removes consecutive elements starting at a given index position.
- idx
the index which refers to the first element to remove.
- count
the number of elements to remove.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).remove(idx, count)
- Definition Classes
- ArrayOps
- Exceptions thrown
IllegalArgumentException
ifcount < 0
.IndexOutOfBoundsException
if the indexidx
is not in the valid range0 <= idx <= length - count
(withcount > 0
).
- def remove(idx: Int): A
Removes the element at a given index position.
Removes the element at a given index position.
- idx
the index which refers to the element to delete.
- returns
the element that was formerly at index
idx
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).remove(idx)
- Definition Classes
- ArrayOps
- Exceptions thrown
IndexOutOfBoundsException
ifidx
is out of bounds.
- def remove(n: Int, count: Int): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).remove(n, count)
- Definition Classes
- WrappedArray → Buffer
- def remove(n: Int): A
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).remove(n)
- Definition Classes
- WrappedArray → Buffer
- def reverse: Array[A]
Returns a new array with the elements in reversed order.
Returns a new array with the elements in reversed order.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).reverse
- Definition Classes
- ArrayOps
- def reverse: WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).reverse
- Definition Classes
- IndexedSeqOps → SeqOps
- def reverseIterator: collection.Iterator[A]
An iterator yielding elements in reversed order.
An iterator yielding elements in reversed order.
Note:
xs.reverseIterator
is the same asxs.reverse.iterator
but implemented more efficiently.- returns
an iterator yielding the elements of this array in reversed order
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).reverseIterator
- Definition Classes
- ArrayOps
- def reverseIterator: collection.Iterator[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).reverseIterator
- Definition Classes
- IndexedSeqOps → SeqOps
- def scanLeft[B](z: B)(op: (B, A) => B): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).scanLeft(z)(op)
- Definition Classes
- IterableOps → IterableOnceOps
- def scanLeft[B](z: B)(op: (B, A) => B): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).scanLeft(z)(op)
- Definition Classes
- IterableOps → IterableOnceOps
- def scanRight[B](z: B)(op: (A, B) => B): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).scanRight(z)(op)
- Definition Classes
- IterableOps
- def scanRight[B](z: B)(op: (A, B) => B): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).scanRight(z)(op)
- Definition Classes
- IterableOps
- def scanRight[B](z: B)(op: (A, B) => B): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).scanRight(z)(op)
- Definition Classes
- IterableOps
- def size: Int
The size of this array.
The size of this array.
- returns
the number of elements in this array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).size
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def size: Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).size
- Definition Classes
- SeqOps → IterableOnceOps
- def size: Int
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).size
- Definition Classes
- IterableOnceOps
- def size: Int
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).size
- Definition Classes
- IterableOnceOps
- def sizeCompare(otherSize: Int): Int
Compares the size of this array to a test value.
Compares the size of this array to a test value.
- otherSize
the test value that gets compared with the size.
- returns
A value
x
wherex < 0 if this.size < otherSize x == 0 if this.size == otherSize x > 0 if this.size > otherSize
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).sizeCompare(otherSize)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- final def sizeCompare(that: collection.Iterable[_]): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).sizeCompare(that)
- Definition Classes
- SeqOps → IterableOps
- final def sizeCompare(otherSize: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).sizeCompare(otherSize)
- Definition Classes
- SeqOps → IterableOps
- def sizeCompare(that: collection.Iterable[_]): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).sizeCompare(that)
- Definition Classes
- IterableOps
- def sizeCompare(otherSize: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).sizeCompare(otherSize)
- Definition Classes
- IterableOps
- def sizeCompare(that: collection.Iterable[_]): Int
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).sizeCompare(that)
- Definition Classes
- IterableOps
- def sizeCompare(otherSize: Int): Int
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).sizeCompare(otherSize)
- Definition Classes
- IterableOps
- def sizeIs: Int
Method mirroring IterableOps.sizeIs for consistency, except it returns an
Int
becausesize
is known and comparison is constant-time.Method mirroring IterableOps.sizeIs for consistency, except it returns an
Int
becausesize
is known and comparison is constant-time.These operations are equivalent to
sizeCompare(Int)
, and allow the following more readable usages:this.sizeIs < size // this.sizeCompare(size) < 0 this.sizeIs <= size // this.sizeCompare(size) <= 0 this.sizeIs == size // this.sizeCompare(size) == 0 this.sizeIs != size // this.sizeCompare(size) != 0 this.sizeIs >= size // this.sizeCompare(size) >= 0 this.sizeIs > size // this.sizeCompare(size) > 0
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).sizeIs
- Definition Classes
- ArrayOps
- final def sizeIs: SizeCompareOps
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).sizeIs
- Definition Classes
- IterableOps
- Annotations
- @inline()
- final def sizeIs: SizeCompareOps
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).sizeIs
- Definition Classes
- IterableOps
- Annotations
- @inline()
- final def sizeIs: SizeCompareOps
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).sizeIs
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def slice(from: Int, until: Int): Array[A]
Selects an interval of elements.
Selects an interval of elements.
The returned array is made up of all elements
x
which satisfy the invariant:from <= indexOf(x) < until
- from
the lowest index to include from this array.
- until
the lowest index to EXCLUDE from this array.
- returns
an array containing the elements greater than or equal to index
from
extending up to (but not including) indexuntil
of this array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).slice(from, until)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def slice(from: Int, until: Int): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).slice(from, until)
- Definition Classes
- IndexedSeqOps → IterableOps → IterableOnceOps
- def slice(from: Int, until: Int): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).slice(from, until)
- Definition Classes
- IterableOps → IterableOnceOps
- def slice(from: Int, until: Int): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).slice(from, until)
- Definition Classes
- IterableOps → IterableOnceOps
- def sliceInPlace(start: Int, end: Int): Array[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).sliceInPlace(start, end)
- Definition Classes
- ArrayOps
- def sliceInPlace(start: Int, end: Int): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).sliceInPlace(start, end)
- Definition Classes
- Buffer
- def sliding(size: Int, step: Int = 1): collection.Iterator[Array[A]]
Groups elements in fixed size blocks by passing a "sliding window" over them (as opposed to partitioning them, as is done in grouped).
Groups elements in fixed size blocks by passing a "sliding window" over them (as opposed to partitioning them, as is done in grouped).
- size
the number of elements per group
- step
the distance between the first elements of successive groups
- returns
An iterator producing arrays of size
size
, except the last element (which may be the only element) will be truncated if there are fewer thansize
elements remaining to be grouped.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).sliding(size, step)
- Definition Classes
- ArrayOps
- See also
scala.collection.Iterator, method
sliding
- def sliding(size: Int, step: Int): collection.Iterator[WrappedArray[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).sliding(size, step)
- Definition Classes
- IterableOps
- def sliding(size: Int): collection.Iterator[WrappedArray[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).sliding(size)
- Definition Classes
- IterableOps
- def sliding(size: Int, step: Int): collection.Iterator[collection.Iterable[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).sliding(size, step)
- Definition Classes
- IterableOps
- def sliding(size: Int): collection.Iterator[collection.Iterable[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).sliding(size)
- Definition Classes
- IterableOps
- def sliding(size: Int, step: Int): collection.Iterator[collection.Iterable[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).sliding(size, step)
- Definition Classes
- IterableOps
- def sliding(size: Int): collection.Iterator[collection.Iterable[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).sliding(size)
- Definition Classes
- IterableOps
- def sortWith(lt: (A, A) => Boolean): Array[A]
Sorts this array according to a comparison function.
Sorts this array according to a comparison function.
The sort is stable. That is, elements that are equal (as determined by
lt
) appear in the same order in the sorted sequence as in the original.- lt
the comparison function which tests whether its first argument precedes its second argument in the desired ordering.
- returns
an array consisting of the elements of this array sorted according to the comparison function
lt
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).sortWith(lt)
- Definition Classes
- ArrayOps
- def sortWith(lt: (A, A) => Boolean): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).sortWith(lt)
- Definition Classes
- SeqOps
- def span(p: (A) => Boolean): (Array[A], Array[A])
Splits this array into a prefix/suffix pair according to a predicate.
Splits this array into a prefix/suffix pair according to a predicate.
Note:
c.span(p)
is equivalent to (but more efficient than)(c.takeWhile(p), c.dropWhile(p))
, provided the evaluation of the predicatep
does not cause any side-effects.- p
the test predicate
- returns
a pair consisting of the longest prefix of this array whose chars all satisfy
p
, and the rest of this array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).span(p)
- Definition Classes
- ArrayOps
- def span(p: (A) => Boolean): (WrappedArray[A], WrappedArray[A])
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).span(p)
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def span(p: (A) => Boolean): (collection.Iterable[A], collection.Iterable[A])
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).span(p)
- Definition Classes
- IterableOps → IterableOnceOps
- def span(p: (A) => Boolean): (collection.Iterable[A], collection.Iterable[A])
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).span(p)
- Definition Classes
- IterableOps → IterableOnceOps
- def splitAt(n: Int): (Array[A], Array[A])
Splits this array into two at a given position.
Splits this array into two at a given position.
Note:
c.splitAt(n)
is equivalent to(c.take(n), c.drop(n))
.- n
the position at which to split.
- returns
a pair of arrays consisting of the first
n
elements of this array, and the other elements.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).splitAt(n)
- Definition Classes
- ArrayOps
- def splitAt(n: Int): (WrappedArray[A], WrappedArray[A])
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).splitAt(n)
- Definition Classes
- IterableOps → IterableOnceOps
- def splitAt(n: Int): (collection.Iterable[A], collection.Iterable[A])
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).splitAt(n)
- Definition Classes
- IterableOps → IterableOnceOps
- def splitAt(n: Int): (collection.Iterable[A], collection.Iterable[A])
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).splitAt(n)
- Definition Classes
- IterableOps → IterableOnceOps
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[A, S]): S
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).stepper(shape)
- Definition Classes
- IterableOnce
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[A, S]): S
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).stepper(shape)
- Definition Classes
- IterableOnce
- def subtractAll(ys: collection.IterableOnce[A]): Array[A]
Removes all elements produced by an iterator from this array.
Removes all elements produced by an iterator from this array.
- returns
the array itself
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).subtractAll(ys)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def subtractAll(xs: collection.IterableOnce[A]): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).subtractAll(xs)
- Definition Classes
- Shrinkable
- def subtractOne(elem: A): Array[A]
Removes a single element from this array.
Removes a single element from this array.
- elem
the element to remove.
- returns
the array itself
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).subtractOne(elem)
- Definition Classes
- ArrayOps
- def subtractOne(x: A): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).subtractOne(x)
- Definition Classes
- Buffer → Shrinkable
- def tail: Array[A]
The rest of the array without its first element.
The rest of the array without its first element.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).tail
- Definition Classes
- ArrayOps
- def tail: WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).tail
- Definition Classes
- IterableOps
- def tail: collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).tail
- Definition Classes
- IterableOps
- def tail: collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).tail
- Definition Classes
- IterableOps
- def tails: collection.Iterator[Array[A]]
Iterates over the tails of this array.
Iterates over the tails of this array.
The first value will be this array and the final one will be an empty array, with the intervening values the results of successive applications of
tail
.- returns
an iterator over all the tails of this array
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).tails
- Definition Classes
- ArrayOps
- def tails: collection.Iterator[WrappedArray[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).tails
- Definition Classes
- IterableOps
- def tails: collection.Iterator[collection.Iterable[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).tails
- Definition Classes
- IterableOps
- def tails: collection.Iterator[collection.Iterable[A]]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).tails
- Definition Classes
- IterableOps
- def take(n: Int): Array[A]
An array containing the first
n
elements of this array.An array containing the first
n
elements of this array.- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).take(n)
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def take(n: Int): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).take(n)
- Definition Classes
- IndexedSeqOps → IterableOps → IterableOnceOps
- def take(n: Int): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).take(n)
- Definition Classes
- IterableOps → IterableOnceOps
- def take(n: Int): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).take(n)
- Definition Classes
- IterableOps → IterableOnceOps
- def takeInPlace(n: Int): Array[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).takeInPlace(n)
- Definition Classes
- ArrayOps
- def takeInPlace(n: Int): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).takeInPlace(n)
- Definition Classes
- Buffer
- def takeRight(n: Int): Array[A]
An array containing the last
n
elements of this array.An array containing the last
n
elements of this array.- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).takeRight(n)
- Definition Classes
- ArrayOps
- def takeRight(n: Int): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).takeRight(n)
- Definition Classes
- IndexedSeqOps → IterableOps
- def takeRight(n: Int): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).takeRight(n)
- Definition Classes
- IterableOps
- def takeRight(n: Int): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).takeRight(n)
- Definition Classes
- IterableOps
- def takeRightInPlace(n: Int): Array[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).takeRightInPlace(n)
- Definition Classes
- ArrayOps
- def takeRightInPlace(n: Int): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).takeRightInPlace(n)
- Definition Classes
- Buffer
- def takeWhile(p: (A) => Boolean): Array[A]
Takes the longest prefix of elements that satisfy a predicate.
Takes the longest prefix of elements that satisfy a predicate.
- p
The predicate used to test elements.
- returns
the longest prefix of this array whose elements all satisfy the predicate
p
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).takeWhile(p)
- Definition Classes
- ArrayOps
- def takeWhile(p: (A) => Boolean): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).takeWhile(p)
- Definition Classes
- IterableOps → IterableOnceOps
- def takeWhile(p: (A) => Boolean): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).takeWhile(p)
- Definition Classes
- IterableOps → IterableOnceOps
- def takeWhile(p: (A) => Boolean): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).takeWhile(p)
- Definition Classes
- IterableOps → IterableOnceOps
- def takeWhileInPlace(p: (A) => Boolean): Array[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).takeWhileInPlace(p)
- Definition Classes
- ArrayOps
- def takeWhileInPlace(p: (A) => Boolean): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).takeWhileInPlace(p)
- Definition Classes
- Buffer
- def tapEach[U](f: (A) => U): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).tapEach(f)
- Definition Classes
- IterableOps → IterableOnceOps
- def tapEach[U](f: (A) => U): collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).tapEach(f)
- Definition Classes
- IterableOps → IterableOnceOps
- def to[C1](factory: Factory[A, C1]): C1
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).to(factory)
- Definition Classes
- IterableOnceOps
- def to[C1](factory: Factory[A, C1]): C1
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).to(factory)
- Definition Classes
- IterableOnceOps
- def to[C1](factory: Factory[A, C1]): C1
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).to(factory)
- Definition Classes
- IterableOnceOps
- final def toBuffer[B >: A]: Buffer[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).toBuffer
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def toBuffer[B >: A]: Buffer[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).toBuffer
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def toBuffer[B >: A]: Buffer[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).toBuffer
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def toIndexedSeq: collection.immutable.IndexedSeq[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).toIndexedSeq
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def toIndexedSeq: collection.immutable.IndexedSeq[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).toIndexedSeq
- Definition Classes
- IterableOnceOps
- def toIndexedSeq: collection.immutable.IndexedSeq[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).toIndexedSeq
- Definition Classes
- IterableOnceOps
- def toIndexedSeq: collection.immutable.IndexedSeq[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).toIndexedSeq
- Definition Classes
- IterableOnceOps
- final def toIterable: WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).toIterable
- Definition Classes
- Iterable → IterableOps
- final def toIterable: IterableOps[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).toIterable
- Definition Classes
- Iterable → IterableOps
- final def toIterable: collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).toIterable
- Definition Classes
- Iterable → IterableOps
- def toList: collection.immutable.List[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).toList
- Definition Classes
- IterableOnceOps
- def toList: collection.immutable.List[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).toList
- Definition Classes
- IterableOnceOps
- def toList: collection.immutable.List[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).toList
- Definition Classes
- IterableOnceOps
- def toMap[K, V](implicit ev: <:<[A, (K, V)]): collection.immutable.Map[K, V]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).toMap(ev)
- Definition Classes
- IterableOnceOps
- def toMap[K, V](implicit ev: <:<[A, (K, V)]): collection.immutable.Map[K, V]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).toMap(ev)
- Definition Classes
- IterableOnceOps
- def toMap[K, V](implicit ev: <:<[A, (K, V)]): collection.immutable.Map[K, V]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).toMap(ev)
- Definition Classes
- IterableOnceOps
- final def toSeq: collection.immutable.Seq[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).toSeq
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def toSeq: collection.immutable.Seq[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).toSeq
- Definition Classes
- IterableOnceOps
- def toSeq: collection.immutable.Seq[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).toSeq
- Definition Classes
- IterableOnceOps
- def toSeq: collection.immutable.Seq[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).toSeq
- Definition Classes
- IterableOnceOps
- def toSet[B >: A]: collection.immutable.Set[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).toSet
- Definition Classes
- IterableOnceOps
- def toSet[B >: A]: collection.immutable.Set[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).toSet
- Definition Classes
- IterableOnceOps
- def toSet[B >: A]: collection.immutable.Set[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).toSet
- Definition Classes
- IterableOnceOps
- def toString(): String
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(array: WrappedArray[A]).toString()
- Definition Classes
- Seq → Function1 → Iterable → AnyRef → Any
- def toString(): String
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(array: IterableOps[A]).toString()
- Definition Classes
- Iterable → AnyRef → Any
- def toString(): String
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(array: collection.Iterable[A]).toString()
- Definition Classes
- Iterable → AnyRef → Any
- def toVector: collection.immutable.Vector[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).toVector
- Definition Classes
- IterableOnceOps
- def toVector: collection.immutable.Vector[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).toVector
- Definition Classes
- IterableOnceOps
- def toVector: collection.immutable.Vector[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).toVector
- Definition Classes
- IterableOnceOps
- def transpose[B](implicit asIterable: (A) => collection.Iterable[B]): WrappedArray[WrappedArray[B]]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).transpose(asIterable)
- Definition Classes
- IterableOps
- def transpose[B](implicit asIterable: (A) => collection.Iterable[B]): collection.Iterable[collection.Iterable[B]]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).transpose(asIterable)
- Definition Classes
- IterableOps
- def transpose[B](implicit asIterable: (A) => collection.Iterable[B]): collection.Iterable[collection.Iterable[B]]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).transpose(asIterable)
- Definition Classes
- IterableOps
- def trimEnd(n: Int): Unit
Removes the last n elements of this array.
Removes the last n elements of this array.
- n
the number of elements to remove from the end of this array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).trimEnd(n)
- Definition Classes
- ArrayOps
- def trimEnd(n: Int): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).trimEnd(n)
- Definition Classes
- Buffer
- def trimStart(n: Int): Unit
Removes the first n elements of this array.
Removes the first n elements of this array.
- n
the number of elements to remove from the beginning of this array.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).trimStart(n)
- Definition Classes
- ArrayOps
- def trimStart(n: Int): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).trimStart(n)
- Definition Classes
- Buffer
- def unzip[A1, A2](implicit asPair: (A) => (A1, A2)): (collection.Iterable[A1], collection.Iterable[A2])
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).unzip(asPair)
- Definition Classes
- IterableOps
- def unzip[A1, A2](implicit asPair: (A) => (A1, A2)): (collection.Iterable[A1], collection.Iterable[A2])
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).unzip(asPair)
- Definition Classes
- IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: (A) => (A1, A2, A3)): (collection.Iterable[A1], collection.Iterable[A2], collection.Iterable[A3])
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).unzip3(asTriple)
- Definition Classes
- IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: (A) => (A1, A2, A3)): (collection.Iterable[A1], collection.Iterable[A2], collection.Iterable[A3])
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).unzip3(asTriple)
- Definition Classes
- IterableOps
- def update(index: Int, elem: A): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(array: WrappedArray[A]).update(index, elem)
- Definition Classes
- WrappedArray → SeqOps
- Annotations
- @inline()
- def view: IndexedSeqView[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).view
- Definition Classes
- ArrayOps
- Annotations
- @inline()
- def view: IndexedSeqView[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).view
- Definition Classes
- IndexedSeqOps → SeqOps → IterableOps
- def view: View[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).view
- Definition Classes
- IterableOps
- def view: View[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).view
- Definition Classes
- IterableOps
- def withFilter(p: (A) => Boolean): WithFilter[A]
Creates a non-strict filter of this array.
Creates a non-strict filter of this array.
Note: the difference between
c.filter(p)
andc.withFilter(p)
is that the former creates a new array, whereas the latter only restricts the domain of subsequentmap
,flatMap
,foreach
, andwithFilter
operations.- p
the predicate used to test elements.
- returns
an object of class
js.ArrayOps.WithFilter
, which supportsmap
,flatMap
,foreach
, andwithFilter
operations. All these operations apply to those elements of this array which satisfy the predicatep
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).withFilter(p)
- Definition Classes
- ArrayOps
- def withFilter(p: (A) => Boolean): WithFilter[A, [_]WrappedArray[_]]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).withFilter(p)
- Definition Classes
- IterableOps
- def withFilter(p: (A) => Boolean): WithFilter[A, collection.Iterable]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).withFilter(p)
- Definition Classes
- IterableOps
- def withFilter(p: (A) => Boolean): WithFilter[A, collection.Iterable]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).withFilter(p)
- Definition Classes
- IterableOps
- def zip[B](that: collection.IterableOnce[B]): collection.Iterable[(A, B)]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).zip(that)
- Definition Classes
- IterableOps
- def zip[B](that: collection.IterableOnce[B]): collection.Iterable[(A, B)]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).zip(that)
- Definition Classes
- IterableOps
- def zipWithIndex: Array[(A, Int)]
Zips this array with its indices.
Zips this array with its indices.
- returns
A new array containing pairs consisting of all elements of this array paired with their index. Indices start at
0
.
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).zipWithIndex
- Definition Classes
- ArrayOps
- def zipWithIndex: WrappedArray[(A, Int)]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).zipWithIndex
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def zipWithIndex: collection.Iterable[(A, Int)]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).zipWithIndex
- Definition Classes
- IterableOps → IterableOnceOps
- def zipWithIndex: collection.Iterable[(A, Int)]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).zipWithIndex
- Definition Classes
- IterableOps → IterableOnceOps
Deprecated Value Members
- def ++:[B >: A](that: collection.IterableOnce[B]): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable
- def ++:[B >: A](that: collection.IterableOnce[B]): collection.Iterable[B]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable
- final def +=(elem1: A, elem2: A, elems: A*): Array[A]
Adds two or more elements to this array.
Adds two or more elements to this array.
- elem1
the first element to add.
- elem2
the second element to add.
- elems
the remaining elements to add.
- returns
the array itself
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).+=(elem1, elem2, elems)
- Definition Classes
- ArrayOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
++=
(addAll) instead of varargs+=
- final def +=(elem1: A, elem2: A, elems: A*): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).+=(elem1, elem2, elems)
- Definition Classes
- Growable
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
++=
akaaddAll
instead of varargs+=
; infix operations with an operand of multiple args will be deprecated
- def -=(elem1: A, elem2: A, elems: A*): Array[A]
Removes two or more elements from this array.
Removes two or more elements from this array.
- elem1
the first element to remove.
- elem2
the second element to remove.
- elems
the remaining elements to remove.
- returns
the array itself
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).-=(elem1, elem2, elems)
- Definition Classes
- ArrayOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
--=
(subtractAll) instead of varargs-=
- def -=(elem1: A, elem2: A, elems: A*): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).-=(elem1, elem2, elems)
- Definition Classes
- Shrinkable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.3) Use
--=
akasubtractAll
instead of varargs-=
; infix operations with an operand of multiple args will be deprecated
- final def /:[B](z: B)(op: (B, A) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A])./:(z)(op)
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldLeft instead of /:
- final def /:[B](z: B)(op: (B, A) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A])./:(z)(op)
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldLeft instead of /:
- final def /:[B](z: B)(op: (B, A) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A])./:(z)(op)
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldLeft instead of /:
- final def :\[B](z: B)(op: (A, B) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).:\(z)(op)
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldRight instead of :\
- final def :\[B](z: B)(op: (A, B) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).:\(z)(op)
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldRight instead of :\
- final def :\[B](z: B)(op: (A, B) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).:\(z)(op)
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldRight instead of :\
- def aggregate[B](z: => B)(seqop: (B, A) => B, combop: (B, B) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).aggregate(z)(seqop, combop)
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0)
aggregate
is not relevant for sequential collections. UsefoldLeft(z)(seqop)
instead.
- def aggregate[B](z: => B)(seqop: (B, A) => B, combop: (B, B) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).aggregate(z)(seqop, combop)
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0)
aggregate
is not relevant for sequential collections. UsefoldLeft(z)(seqop)
instead.
- def aggregate[B](z: => B)(seqop: (B, A) => B, combop: (B, B) => B): B
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).aggregate(z)(seqop, combop)
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0)
aggregate
is not relevant for sequential collections. UsefoldLeft(z)(seqop)
instead.
- final def append(elems: A*): Array[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).append(elems)
- Definition Classes
- ArrayOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use appendAll instead
- final def append(elems: A*): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).append(elems)
- Definition Classes
- Buffer
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use appendAll instead
- def companion: IterableFactory[[_]WrappedArray[_]]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).companion
- Definition Classes
- IterableOps
- Annotations
- @deprecated @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @inline()
- Deprecated
(Since version 2.13.0) Use iterableFactory instead
- def companion: IterableFactory[collection.Iterable]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).companion
- Definition Classes
- IterableOps
- Annotations
- @deprecated @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @inline()
- Deprecated
(Since version 2.13.0) Use iterableFactory instead
- def companion: IterableFactory[collection.Iterable]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).companion
- Definition Classes
- IterableOps
- Annotations
- @deprecated @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @inline()
- Deprecated
(Since version 2.13.0) Use iterableFactory instead
- final def copyToBuffer[B >: A](dest: Buffer[B]): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
dest ++= coll
instead
- final def copyToBuffer[B >: A](dest: Buffer[B]): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
dest ++= coll
instead
- final def copyToBuffer[B >: A](dest: Buffer[B]): Unit
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
dest ++= coll
instead
- def hasDefiniteSize: Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).hasDefiniteSize
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
- def hasDefiniteSize: Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).hasDefiniteSize
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
- def hasDefiniteSize: Boolean
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).hasDefiniteSize
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
- final def prefixLength(p: (A) => Boolean): Int
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use segmentLength instead of prefixLength
- final def prepend(elems: A*): Array[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toArrayOps[A] performed by method jsArrayOps in scala.scalajs.js.Any.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: ArrayOps[A]).prepend(elems)
- Definition Classes
- ArrayOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use prependAll instead
- final def prepend(elems: A*): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).prepend(elems)
- Definition Classes
- Buffer
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use prependAll instead
- final def repr: WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).repr
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside
- final def repr: collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).repr
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside
- final def repr: collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).repr
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside
- def reverseMap[B](f: (A) => B): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)
- def seq: WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).seq
- Definition Classes
- Iterable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Iterable.seq always returns the iterable itself
- def seq: IterableOps[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).seq
- Definition Classes
- Iterable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Iterable.seq always returns the iterable itself
- def seq: collection.Iterable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).seq
- Definition Classes
- Iterable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Iterable.seq always returns the iterable itself
- final def toIterator: collection.Iterator[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).toIterator
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- final def toIterator: collection.Iterator[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).toIterator
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- final def toIterator: collection.Iterator[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).toIterator
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- final def toStream: collection.immutable.Stream[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).toStream
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toStream: collection.immutable.Stream[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).toStream
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toStream: collection.immutable.Stream[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).toStream
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toTraversable: collection.Traversable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).toTraversable
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use toIterable instead
- final def toTraversable: collection.Traversable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).toTraversable
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use toIterable instead
- final def toTraversable: collection.Traversable[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).toTraversable
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use toIterable instead
- final def transform(f: (A) => A): WrappedArray[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
mapInPlace
on anIndexedSeq
instead
- final def union[B >: A](that: collection.Seq[B]): WrappedArray[B]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Definition Classes
- SeqOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
concat
instead
- def view(from: Int, until: Int): IndexedSeqView[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toWrappedArray[A] performed by method wrapArray in scala.scalajs.js.LowPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: WrappedArray[A]).view(from, until)
- Definition Classes
- IndexedSeqOps → IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)
- def view(from: Int, until: Int): View[A]
- Implicit
- This member is added by an implicit conversion from Array[A] toIterableOps[A] performed by method iterableOps in scala.scalajs.js.LowestPrioAnyImplicits.
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: IterableOps[A]).view(from, until)
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)
- def view(from: Int, until: Int): View[A]
- Implicit
- This member is added by an implicit conversion from Array[A] tocollection.Iterable[A] performed by method arrayAsIterable in scala.scalajs.js.LowestPrioAnyImplicits.This conversion will take place only if A is a superclass of _$5 (A >: _$5).
- Shadowing
- This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
To access this member you can use a type ascription:(array: collection.Iterable[A]).view(from, until)
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)
- def →[B](y: B): (Array[A], B)
- Implicit
- This member is added by an implicit conversion from Array[A] toArrowAssoc[Array[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.