Tile - YArray - Random Array Item – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
=Random Array Item= | <!--- | ||
[[ | 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. | |||
---- | ---- | ||
{{Ylands | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | |||
[[Category: Instructions]] |
Latest revision as of 15:23, 24 November 2023
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.