Sign In

$arrayUnshift[]

Adds elements to the beginning of an array

v1.0.0+ Requires Brackets

Usage

$arrayUnshift[;]

Arguments

NameTypeRequiredDescription
name
StringYesThe variable that holds the array
...values
StringYesThe values to append at the start of the array

Was this page helpful?