Sign In

$arrayUnshiftJSON[]

Adds elements to the beginning of an array

v1.3.0+ Requires Brackets

Usage

$arrayUnshiftJSON[;]

Arguments

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

Was this page helpful?