ArrayPrepend
Method Signature
ArrayPrepend(array=[modifiableArray], value=[any])Arguments
Argument
Type
Required
Description
Default
Examples
Prepend a value to an array
someArray = [
3,
2,
1
];
arrayPrepend( someArray, 4 );
writeDump( someArray );
Prepend a value to an array using the Array member function
Additional Examples
Related
Last updated
Was this helpful?
