Home Manual Reference Source

Function

Static Public Summary
public

fill(a: {[x: number]}, i: number, j: number, v: any)

Fill.

public

fillfn(a: {[x: number]}, i: number, j: number, fn: Function)

Fillfn.

public

iota(a: {[x: number]}, i: number, j: number, v: any)

Iota.

Static Public

public fill(a: {[x: number]}, i: number, j: number, v: any) source

import fill from '@array-like/fill/src/fill.js'

Fill.

Params:

NameTypeAttributeDescription
a {[x: number]}
i number
j number
v any

public fillfn(a: {[x: number]}, i: number, j: number, fn: Function) source

import fillfn from '@array-like/fill/src/fillfn.js'

Fillfn.

Params:

NameTypeAttributeDescription
a {[x: number]}
i number
j number
fn Function

public iota(a: {[x: number]}, i: number, j: number, v: any) source

import iota from '@array-like/fill/src/iota.js'

Iota.

Params:

NameTypeAttributeDescription
a {[x: number]}
i number
j number
v any