arrayOf
Creates a new array containing elements in argument order.
With no arguments, returns a new empty array. Elements are copied as values; referenced objects are not cloned. Guest calls accept explicit arguments; spreading another array into this factory is not supported.
Return
a new mutable array containing the supplied elements.
Parameters
elements
the elements to include in order.
Type Parameters
T
the element type.