Array
struct Array<Element> : RandomAccessCollection, MutableCollection
-
Elements of the array formatter as a launch argument.
Declaration
Swift
var launchArgument: String
-
Combines together two arrays of objects implementing
LaunchArgumentValue
protocol.Note
This works different to+
operation, because types of arrays may differ.Declaration
Swift
func combine<T: LaunchArgumentValue>(values: [T]) -> [LaunchArgumentValue]
Parameters
other
Other array to use in join.
Return Value
Array of combined elements.
-
Elements of the array formatted as a launch environment value.
Declaration
Swift
var launchEnvironment: String
-
Reduce array of tuples
(Any: Hashable, Any)
to dictionary.Declaration
Swift
func reduceToDictionary<Key: Hashable, Value>(mapToTuple: (Element) -> (Key, Value)) -> [Key: Value]