ArrayUnshift

This function adds one or more elements to the beginning of the original array and returns the length of the modified array.

Method Signature

ArrayUnshift(array=[modifiablearray], object=[any])

Arguments

ArgumentTypeRequiredDescriptionDefault

array

modifiablearray

true

The array to add an item to

object

any

true

The value to add

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC