Type alias TypedArrayBufferViewConstructor<A>

TypedArrayBufferViewConstructor<A>: {
    BYTES_PER_ELEMENT: number;
    prototype: A;
    from(arrayLike) => A;
    from(arrayLike, mapfn?, thisArg?) => A;
    from<T>(arrayLike, mapfn, thisArg?) => A;
    of(...items) => A;
    new (): A;
    new (elements): A;
    new (array): A;
    new (buffer, byteOffset?, length?): A;
    new (length): A;
}

Type Parameters

Type declaration

    • new (): A
    • Returns A

    • new (elements): A
    • Parameters

      • elements: Iterable<number>

      Returns A

    • new (array): A
    • Parameters

      • array: ArrayLike<number> | ArrayBufferLike

      Returns A

    • new (buffer, byteOffset?, length?): A
    • Parameters

      • buffer: ArrayBufferLike
      • Optional byteOffset: number
      • Optional length: number

      Returns A

    • new (length): A
    • Parameters

      • length: number

      Returns A

  • Readonly BYTES_PER_ELEMENT: number
  • Readonly prototype: A
  • from:function
    • Parameters

      • arrayLike: ArrayLike<number>

      Returns A

    • Parameters

      • arrayLike: Iterable<number>
      • Optional mapfn: ((v, k) => number)
          • (v, k): number
          • Parameters

            • v: number
            • k: number

            Returns number

      • Optional thisArg: any

      Returns A

    • Type Parameters

      • T

      Parameters

      • arrayLike: ArrayLike<T>
      • mapfn: ((v, k) => number)
          • (v, k): number
          • Parameters

            • v: T
            • k: number

            Returns number

      • Optional thisArg: any

      Returns A

  • of:function

Generated using TypeDoc