Tile category - Array – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
*[[Ylands Tile - Array includes|Includes]] | *[[Ylands Tile - Array includes|Includes]] | ||
*[[Ylands Tile - Array fill|Fill]] | *[[Ylands Tile - Array fill|Fill]] | ||
*[[Ylands Tile - Array clone|Clone]] | |||
*[[Ylands Tile - Array concatenate|Concatenate]] | *[[Ylands Tile - Array concatenate|Concatenate]] | ||
*[[Ylands Tile - Array order as numbers|Order by as numbers]] | *[[Ylands Tile - Array order as numbers|Order by as numbers]] |
Revision as of 13:34, 7 March 2019
Instructions
- Get/Set item
- Get random item
- Get length
- Index of
- Last index of
- Pop
- Push
- Shift
- Unshift
- Slice
- Splice
- To string
- Reverse
- Includes
- Fill
- Clone
- Concatenate
- Order by as numbers
Notes
- Values in all cells of one array does not have to be of same type (i.e string, vector, number).
- Index numbers always start from 0, e.g: Array of length 3 has indexes 0, 1, 2.
- Arrays are reference types, meaning that most of instructions will modify original array, even when assigned to variable.