BigInt64Array

open external class BigInt64Array(val buffer: ArrayBufferLike, val byteOffset: Int = definedExternally, val length: Int = definedExternally) : TypedArray<BigInt64Array, BigInt> (source)

Constructors

Link copied to clipboard
constructor()
constructor(length: Int)
constructor(elements: JsIterable<BigInt>)
constructor(elements: ReadonlyArray<BigInt>)
constructor(buffer: ArrayBufferLike, byteOffset: Int = definedExternally, length: Int = definedExternally)

Types

Link copied to clipboard

Properties

Link copied to clipboard
open override val buffer: ArrayBufferLike
Link copied to clipboard
open override val byteLength: Int
Link copied to clipboard
open override val byteOffset: Int
Link copied to clipboard

The size in bytes of each element in the array.

Link copied to clipboard
open override val length: Int

Functions

Link copied to clipboard
fun <T> ArrayLike<T>.asList(): List<T>
Link copied to clipboard
fun at(index: Int): BigInt?

Returns the item located at the specified index.

Link copied to clipboard
fun copyWithin(target: Int, start: Int, end: Int = definedExternally): BigInt64Array

Returns the this object after copying a section of the array identified by start and end to the same array starting at position target

Link copied to clipboard
open override fun entries(): JsIterator<JsTuple2<Int, BigInt>>
Link copied to clipboard
fun every(predicate: (value: BigInt) -> Unit): Boolean

Determines whether all the members of an array satisfy the specified test.

Link copied to clipboard
fun fill(value: BigInt, start: Int = definedExternally, end: Int = definedExternally): BigInt64Array

Changes all array elements from start to end index to a static value and returns the modified array

Link copied to clipboard
fun filter(predicate: (value: BigInt) -> Boolean): BigInt64Array

Returns the elements of an array that meet the condition specified in a callback function.

Link copied to clipboard
fun find(predicate: (value: BigInt) -> Boolean): BigInt?

Returns the value of the first element in the array where predicate is true, and undefined otherwise.

Link copied to clipboard
fun findIndex(predicate: (value: BigInt) -> Boolean): Int

Returns the index of the first element in the array where predicate is true, and -1 otherwise.

Link copied to clipboard
open override fun forEach(action: (item: BigInt) -> Unit)

Performs the specified action for each element in an array.

Link copied to clipboard
open operator fun get(index: Int): BigInt
open operator fun get(key: Symbol.iterator): () -> JsIterator<BigInt>
Link copied to clipboard
fun includes(searchElement: BigInt, fromIndex: Int = definedExternally): Boolean

Determines whether an array includes a certain element, returning true or false as appropriate.

Link copied to clipboard
fun indexOf(searchElement: BigInt, fromIndex: Int = definedExternally): Int

Returns the index of the first occurrence of a value in an array.

Link copied to clipboard
open inline operator fun iterator(): Iterator<BigInt>
Link copied to clipboard
fun join(separator: String = definedExternally): String

Adds all the elements of an array separated by the specified separator string.

Link copied to clipboard
open override fun keys(): JsIterator<Int>
Link copied to clipboard
fun lastIndexOf(searchElement: BigInt, fromIndex: Int = definedExternally): Int

Returns the index of the last occurrence of a value in an array.

Link copied to clipboard
fun map(transform: (value: BigInt) -> BigInt): BigInt64Array

Calls a defined callback function on each element of an array, and returns an array that contains the results.

Link copied to clipboard

Reverses the elements in an Array.

Link copied to clipboard
open operator fun set(index: Int, value: BigInt)
fun set(array: BigInt64Array, offset: Int = definedExternally)
fun set(array: ReadonlyArray<BigInt>, offset: Int = definedExternally)
Link copied to clipboard
fun slice(start: Int = definedExternally, end: Int = definedExternally): BigInt64Array

Returns a section of an array.

Link copied to clipboard
fun some(predicate: (value: BigInt) -> Boolean): Boolean

Determines whether the specified callback function returns true for any element of an array.

Link copied to clipboard
fun sort(comparison: (a: BigInt, b: BigInt) -> Int = definedExternally): BigInt64Array

Sorts an array.

Link copied to clipboard
fun subarray(start: Int, end: Int): BigInt64Array
Link copied to clipboard

Converts a number to a string by using the current locale.

Link copied to clipboard

Returns the primitive value of the specified object.

Link copied to clipboard
open override fun values(): JsIterator<BigInt>