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

Hierarchy

  • Int16ArrayConstructor

Index

Constructors

Properties

Methods

Constructors

constructor

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

    • length: number

    Returns Int16Array

  • Parameters

    Returns Int16Array

  • Parameters

    Returns Int16Array

Properties

BYTES_PER_ELEMENT

BYTES_PER_ELEMENT: number

The size in bytes of each element in the array.

prototype

prototype: Int16Array

Methods

from

  • from(arrayLike: ArrayLike<number>, mapfn?: function, thisArg?: any): Int16Array
  • 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 Int16Array

of

  • of(...items: number[]): Int16Array
  • 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 Int16Array

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