trait TemplateStringsArray extends scala.scalajs.js.Object with StObject with ReadonlyArray[java.lang.String]
- Annotations
- @JSType() @native()
- Source
- TemplateStringsArray.scala
- Alphabetic
- By Inheritance
- TemplateStringsArray
- ReadonlyArray
- NumberDictionary
- StObject
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): scala.Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): scala.Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def concat(items: |[scala.scalajs.js.Array[java.lang.String], java.lang.String]*): scala.scalajs.js.Array[java.lang.String]
Combines two or more arrays.
Combines two or more arrays.
- items
Additional items to add to the end of array1.
- Definition Classes
- ReadonlyArray
- def entries(): IterableIterator[Tuple2[Double, java.lang.String]]
Returns an iterable of key, value pairs for every entry in the array
Returns an iterable of key, value pairs for every entry in the array
- Definition Classes
- ReadonlyArray
- final def eq(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef → Any
- def every(predicate: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], Any], thisArg: Any): scala.Boolean
- Definition Classes
- ReadonlyArray
- def every(predicate: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], Any]): scala.Boolean
Determines whether all the members of an array satisfy the specified test.
Determines whether all the members of an array satisfy the specified test.
- predicate
A function that accepts up to three arguments. The every method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value false, or until the end of the array.
- Definition Classes
- ReadonlyArray
- def every_S_T[S](predicate: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], scala.Boolean], thisArg: Any): scala.Boolean
- Definition Classes
- ReadonlyArray
- Annotations
- @JSName("every")
- def every_S_T[S](predicate: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], scala.Boolean]): scala.Boolean
Determines whether all the members of an array satisfy the specified test.
Determines whether all the members of an array satisfy the specified test.
- predicate
A function that accepts up to three arguments. The every method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value false, or until the end of the array.
- Definition Classes
- ReadonlyArray
- Annotations
- @JSName("every")
- def filter(predicate: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], Any], thisArg: Any): scala.scalajs.js.Array[java.lang.String]
- Definition Classes
- ReadonlyArray
- def filter(predicate: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], Any]): scala.scalajs.js.Array[java.lang.String]
Returns the elements of an array that meet the condition specified in a callback function.
Returns the elements of an array that meet the condition specified in a callback function.
- predicate
A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
- Definition Classes
- ReadonlyArray
- def filter_S_T[S](predicate: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], scala.Boolean], thisArg: Any): scala.scalajs.js.Array[S]
- Definition Classes
- ReadonlyArray
- Annotations
- @JSName("filter")
- def filter_S_T[S](predicate: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], scala.Boolean]): scala.scalajs.js.Array[S]
Returns the elements of an array that meet the condition specified in a callback function.
Returns the elements of an array that meet the condition specified in a callback function.
- predicate
A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
- Definition Classes
- ReadonlyArray
- Annotations
- @JSName("filter")
- def find[S](predicate: ThisFunction3[Unit, java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], scala.Boolean], thisArg: Any): UndefOr[S]
- Definition Classes
- ReadonlyArray
- def find[S](predicate: ThisFunction3[Unit, java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], scala.Boolean]): UndefOr[S]
Returns the value of the first element in the array where predicate is true, and undefined otherwise.
Returns the value of the first element in the array where predicate is true, and undefined otherwise.
- predicate
find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, find immediately returns that element value. Otherwise, find returns undefined.
- Definition Classes
- ReadonlyArray
- def find(predicate: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], Any], thisArg: Any): UndefOr[java.lang.String]
- Definition Classes
- ReadonlyArray
- def find(predicate: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], Any]): UndefOr[java.lang.String]
- Definition Classes
- ReadonlyArray
- def findIndex(predicate: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], Any], thisArg: Any): Double
- Definition Classes
- ReadonlyArray
- def findIndex(predicate: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], Any]): Double
Returns the index of the first element in the array where predicate is true, and -1 otherwise.
Returns the index of the first element in the array where predicate is true, and -1 otherwise.
- predicate
find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, findIndex immediately returns that element index. Otherwise, findIndex returns -1.
- Definition Classes
- ReadonlyArray
- def flat[A, D](depth: D): scala.scalajs.js.Array[FlatArray[A, D]]
- Definition Classes
- ReadonlyArray
- def flat[A, D](): scala.scalajs.js.Array[FlatArray[A, D]]
Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.
Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.
- Definition Classes
- ReadonlyArray
- def flatMap[U, This](callback: ThisFunction3[This, java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], |[U, scala.scalajs.js.Array[U]]], thisArg: This): scala.scalajs.js.Array[U]
- Definition Classes
- ReadonlyArray
- def flatMap[U, This](callback: ThisFunction3[This, java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], |[U, scala.scalajs.js.Array[U]]]): scala.scalajs.js.Array[U]
Calls a defined callback function on each element of an array.
Calls a defined callback function on each element of an array. Then, flattens the result into a new array. This is identical to a map followed by flat with depth 1.
- callback
A function that accepts up to three arguments. The flatMap method calls the callback function one time for each element in the array.
- Definition Classes
- ReadonlyArray
- def forEach(callbackfn: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], Unit], thisArg: Any): Unit
- Definition Classes
- ReadonlyArray
- def forEach(callbackfn: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], Unit]): Unit
Performs the specified action for each element in an array.
Performs the specified action for each element in an array.
- callbackfn
A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
- Definition Classes
- ReadonlyArray
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hasOwnProperty(v: scala.Predef.String): scala.Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def includes(searchElement: java.lang.String, fromIndex: Double): scala.Boolean
- Definition Classes
- ReadonlyArray
- def includes(searchElement: java.lang.String): scala.Boolean
Determines whether an array includes a certain element, returning true or false as appropriate.
Determines whether an array includes a certain element, returning true or false as appropriate.
- searchElement
The element to search for.
- Definition Classes
- ReadonlyArray
- def indexOf(searchElement: java.lang.String, fromIndex: Double): Double
- Definition Classes
- ReadonlyArray
- def indexOf(searchElement: java.lang.String): Double
Returns the index of the first occurrence of a value in an array.
Returns the index of the first occurrence of a value in an array.
- searchElement
The value to locate in the array.
- Definition Classes
- ReadonlyArray
- final def isInstanceOf[T0]: scala.Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: scala.scalajs.js.Object): scala.Boolean
- Definition Classes
- Object
- val iterator: Function0[IterableIterator[java.lang.String]]
Iterator of values in the array.
Iterator of values in the array.
- Definition Classes
- ReadonlyArray
- Annotations
- @JSName(js.Symbol.iterator)
- def join(separator: java.lang.String): java.lang.String
- Definition Classes
- ReadonlyArray
- def join(): java.lang.String
Adds all the elements of an array separated by the specified separator string.
Adds all the elements of an array separated by the specified separator string.
- Definition Classes
- ReadonlyArray
- def keys(): IterableIterator[Double]
Returns an iterable of keys in the array
Returns an iterable of keys in the array
- Definition Classes
- ReadonlyArray
- def lastIndexOf(searchElement: java.lang.String, fromIndex: Double): Double
- Definition Classes
- ReadonlyArray
- def lastIndexOf(searchElement: java.lang.String): Double
Returns the index of the last occurrence of a specified value in an array.
Returns the index of the last occurrence of a specified value in an array.
- searchElement
The value to locate in the array.
- Definition Classes
- ReadonlyArray
- val length: Double
Gets the length of the array.
Gets the length of the array. This is a number one higher than the highest element defined in an array.
- Definition Classes
- ReadonlyArray
- def map[U](callbackfn: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], U], thisArg: Any): scala.scalajs.js.Array[U]
- Definition Classes
- ReadonlyArray
- def map[U](callbackfn: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], U]): scala.scalajs.js.Array[U]
Calls a defined callback function on each element of an array, and returns an array that contains the results.
Calls a defined callback function on each element of an array, and returns an array that contains the results.
- callbackfn
A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
- Definition Classes
- ReadonlyArray
- final def ne(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def propertyIsEnumerable(v: scala.Predef.String): scala.Boolean
- Definition Classes
- Object
- val raw: scala.scalajs.js.Array[java.lang.String]
- def reduce(callbackfn: Function4[java.lang.String, java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], java.lang.String], initialValue: java.lang.String): java.lang.String
- Definition Classes
- ReadonlyArray
- def reduce(callbackfn: Function4[java.lang.String, java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], java.lang.String]): java.lang.String
Calls the specified callback function for all the elements in an array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
- callbackfn
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
- Definition Classes
- ReadonlyArray
- def reduceRight(callbackfn: Function4[java.lang.String, java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], java.lang.String], initialValue: java.lang.String): java.lang.String
- Definition Classes
- ReadonlyArray
- def reduceRight(callbackfn: Function4[java.lang.String, java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], java.lang.String]): java.lang.String
Calls the specified callback function for all the elements in an array, in descending order.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
- callbackfn
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
- Definition Classes
- ReadonlyArray
- def reduceRight_U_U[U](callbackfn: Function4[U, java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], U], initialValue: U): U
Calls the specified callback function for all the elements in an array, in descending order.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
- callbackfn
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
- initialValue
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
- Definition Classes
- ReadonlyArray
- Annotations
- @JSName("reduceRight")
- def reduce_U_U[U](callbackfn: Function4[U, java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], U], initialValue: U): U
Calls the specified callback function for all the elements in an array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
- callbackfn
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
- initialValue
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
- Definition Classes
- ReadonlyArray
- Annotations
- @JSName("reduce")
- def slice(start: Unit, end: Double): scala.scalajs.js.Array[java.lang.String]
- Definition Classes
- ReadonlyArray
- def slice(start: Double, end: Double): scala.scalajs.js.Array[java.lang.String]
- Definition Classes
- ReadonlyArray
- def slice(start: Double): scala.scalajs.js.Array[java.lang.String]
- Definition Classes
- ReadonlyArray
- def slice(): scala.scalajs.js.Array[java.lang.String]
Returns a section of an array.
Returns a section of an array.
- Definition Classes
- ReadonlyArray
- def some(predicate: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], Any], thisArg: Any): scala.Boolean
- Definition Classes
- ReadonlyArray
- def some(predicate: Function3[java.lang.String, Double, scala.scalajs.js.Array[java.lang.String], Any]): scala.Boolean
Determines whether the specified callback function returns true for any element of an array.
Determines whether the specified callback function returns true for any element of an array.
- predicate
A function that accepts up to three arguments. The some method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value true, or until the end of the array.
- Definition Classes
- ReadonlyArray
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): scala.Predef.String
- Definition Classes
- Object
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- def valueOf(): Any
- Definition Classes
- Object
- def values(): IterableIterator[java.lang.String]
Returns an iterable of values in the array
Returns an iterable of values in the array
- Definition Classes
- ReadonlyArray
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated