array.prepend()

Inserts an array element at the beginning of an array and shifts the positions of the existing elements to make room.

array.prepend( array, value )

Returns: Boolean

Argument Description
array
array, required

Name of an array

value
any, required

value to prepend

Examples

There are currently no examples for this function

See also