Tile - Array - Fill – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Array fill to Ylands:Tile - Array - Fill: 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. | |||
--> | |||
== Fill(Array, Object) == | |||
[[File:YlandsTile-518.png]] | |||
<pre>fill(object: T): T[];</pre> | |||
=== Parameters === | |||
==== object ==== | |||
=== Returns === | |||
'''any[]''' | |||
=== Description === | |||
This instruction will change '''all the elements''' in the '''array''' to a selected '''value'''. | |||
Line 7: | Line 25: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 08:53, 8 July 2021
Fill(Array, Object)
fill(object: T): T[];
Parameters
object
Returns
any[]
Description
This instruction will change all the elements in the array to a selected value.