Int8ArrayConstructor | typescript
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Int8ArrayConstructor

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Int8ArrayConstructor(length: number): Int8Array
  • new Int8ArrayConstructor(arrayOrArrayBuffer: ArrayLike<number> | ArrayBufferLike): Int8Array
  • new Int8ArrayConstructor(buffer: ArrayBufferLike, byteOffset: number, length?: number): Int8Array
  • Parameters

    • length: number

    Returns Int8Array

  • Parameters

    Returns Int8Array

  • Parameters

    Returns Int8Array

Properties

BYTES_PER_ELEMENT

BYTES_PER_ELEMENT: number

The size in bytes of each element in the array.

prototype

prototype: Int8Array

Methods

from

  • from(arrayLike: ArrayLike<number>, mapfn?: function, thisArg?: any): Int8Array
  • Creates an array from an array-like or iterable object.

    Parameters

    • arrayLike: ArrayLike<number>

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

    • Optional mapfn: function

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

        • (v: number, k: number): number
        • Parameters

          • v: number
          • k: number

          Returns number

    • Optional thisArg: any

      Value of 'this' used to invoke the mapfn.

    Returns Int8Array

of

  • of(...items: number[]): Int8Array
  • Returns a new array from a set of elements.

    Parameters

    • Rest ...items: number[]

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

    Returns Int8Array

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc