Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/index.ts>TypedArray

A JavaScript extension package for building strong and modern applications.
Latest
interface TypedArray
import { type TypedArray } from "https://deno.land/x/ayonli_jsext@v0.9.72/index.ts";

Index Signatures

[index: number]: number

Properties

readonly
BYTES_PER_ELEMENT: number
readonly
buffer: ArrayBufferLike
readonly
byteLength: number
readonly
byteOffset: number
readonly
length: number

Methods

copyWithin(
target: number,
start?: number,
end?: number,
): this
every(predicate: (
value: number,
index: number,
array: this,
) => unknown
, thisArg?: any
): boolean
fill(
value: number,
start?: number,
end?: number,
): this
filter(predicate: (
value: number,
index: number,
array: this,
) => any
, thisArg?: any
): this
find(predicate: (
value: number,
index: number,
obj: this,
) => boolean
, thisArg?: any
): number | undefined
findIndex(predicate: (
value: number,
index: number,
obj: this,
) => boolean
, thisArg?: any
): number
forEach(callbackfn: (
value: number,
index: number,
array: this,
) => void
, thisArg?: any
): void
indexOf(searchElement: number, fromIndex?: number): number
includes(searchElement: number, fromIndex?: number): boolean
join(separator?: string): string
lastIndexOf(searchElement: number, fromIndex?: number): number
map(callbackfn: (
value: number,
index: number,
array: this,
) => number
, thisArg?: any
): this
reduce(callbackfn: (
previousValue: number,
currentValue: number,
currentIndex: number,
array: this,
) => number
): number
reduce(callbackfn: (
previousValue: number,
currentValue: number,
currentIndex: number,
array: this,
) => number
, initialValue: number
): number
reduce<U>(callbackfn: (
previousValue: U,
currentValue: number,
currentIndex: number,
array: this,
) => U
, initialValue: U
): U
reduceRight(callbackfn: (
previousValue: number,
currentValue: number,
currentIndex: number,
array: this,
) => number
): number
reduceRight(callbackfn: (
previousValue: number,
currentValue: number,
currentIndex: number,
array: this,
) => number
, initialValue: number
): number
reduceRight<U>(callbackfn: (
previousValue: U,
currentValue: number,
currentIndex: number,
array: this,
) => U
, initialValue: U
): U
reverse(): this
set(array: ArrayLike<number>, offset?: number): void
slice(start?: number, end?: number): this
some(predicate: (
value: number,
index: number,
array: this,
) => unknown
, thisArg?: any
): boolean
sort(compareFn?: (a: number, b: number) => number): this
subarray(begin?: number, end?: number): this
toLocaleString(): string
toString(): string
valueOf(): this
entries(): IterableIterator<[number, number]>
keys(): IterableIterator<number>
values(): IterableIterator<number>
[[Symbol.iterator]](): IterableIterator<number>
variable TypedArray
import { TypedArray } from "https://deno.land/x/ayonli_jsext@v0.9.72/index.ts";

This is the superclass of all of all TypedArray subclasses, such as Uint8Array, Int16Array, etc.