BigInt64ArrayConstructor

@native @JSType trait BigInt64ArrayConstructor extends StObject with Instantiable0[BigInt64Array] with Instantiable1[ArrayBufferLike | Double | Iterable[BigInt], BigInt64Array] with Instantiable2[ArrayBufferLike, Double, BigInt64Array] with Instantiable3[ArrayBufferLike, Double | Unit, Double, BigInt64Array]
trait Instantiable3[ArrayBufferLike, Double | Unit, Double, BigInt64Array]
trait Instantiable2[ArrayBufferLike, Double, BigInt64Array]
trait Instantiable1[ArrayBufferLike | Double | Iterable[BigInt], BigInt64Array]
trait Instantiable0[BigInt64Array]
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def from(arrayLike: ArrayLike[BigInt]): BigInt64Array

Creates an array from an array-like or iterable object.

Creates an array from an array-like or iterable object.

Value Params
arrayLike

An array-like or iterable object to convert to an array.

mapfn

A mapping function to call on every element of the array.

thisArg

Value of 'this' used to invoke the mapfn.

def from[U](arrayLike: ArrayLike[U], mapfn: Function2[U, Double, BigInt]): BigInt64Array
def from[U](arrayLike: ArrayLike[U], mapfn: Function2[U, Double, BigInt], thisArg: Any): BigInt64Array
def of(items: BigInt*): BigInt64Array

Returns a new array from a set of elements.

Returns a new array from a set of elements.

Value Params
items

A set of elements to include in the new array object.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

val BYTES_PER_ELEMENT: Double

The size in bytes of each element in the array.

The size in bytes of each element in the array.