app-workflow_engine

On this page:

fill

Summary

Fills part of an array with a value.

Description

Fills all the elements of an array from a start index to an end index with a static value.

Route

No Northbound API Available

Roles

admin

Parameters

DetailsExampleSchema
Name Type Required Description
arr array yes The array to fill
value * yes Value to fill an array
start number no Start index, defaults to zero
end number no End index, defaults to this.length

Return

DetailsExampleSchema
Name Type Description
filledArray array The modified array