Tile - YArray - Random Array Item – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Array random item to Ylands:Tile - YArray - Random Array Item: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
[[ | <!--- | ||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Random Array Item(Array) == | |||
[[File:YlandsTile-214.png]] | |||
<pre>static randomArrayItem(array: any[]): any;</pre> | |||
=== Parameters === | |||
==== array ==== | |||
=== Returns === | |||
'''any''' Returns a value of '''randomly''' chosen cell of the array. | |||
=== Description === | |||
Returns a value of '''randomly''' chosen cell of the array. | |||
Line 8: | Line 25: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 09:53, 8 July 2021
Random Array Item(Array)
static randomArrayItem(array: any[]): any;
Parameters
array
Returns
any Returns a value of randomly chosen cell of the array.
Description
Returns a value of randomly chosen cell of the array.