Tile category - Array – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
*[[Ylands Tile - Array length|Get length]] | *[[Ylands Tile - Array length|Get length]] | ||
*[[Ylands Tile - Array index of|Index of]] | *[[Ylands Tile - Array index of|Index of]] | ||
*[[Ylands Tile - Array last index of|Last index of]] | |||
*[[Ylands Tile - Array pop|Pop]] | *[[Ylands Tile - Array pop|Pop]] | ||
*[[Ylands Tile - Array push|Push]] | *[[Ylands Tile - Array push|Push]] | ||
Line 10: | Line 11: | ||
*[[Ylands Tile - Array slice|Slice]] | *[[Ylands Tile - Array slice|Slice]] | ||
*[[Ylands Tile - Array splice|Splice]] | *[[Ylands Tile - Array splice|Splice]] | ||
*[[Ylands Tile - Array to string|To string]] | |||
*[[Ylands Tile - Array reverse|Reverse]] | |||
*[[Ylands Tile - Array includes|Includes]] | |||
*[[Ylands Tile - Array fill|Fill]] | |||
*[[Ylands Tile - Array concatenate|Concatenate]] | |||
*[[Ylands Tile - Array order as numbers|Order by as numbers]] | |||
=Notes= | =Notes= |
Revision as of 17:09, 6 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
- 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.