I have a string: Any array, like this
public var parameters: [String: Any] = [
"myParameters": "all",
//"fromDate": Date = Date()
//"searchByName": String = ""
]
I would like to add value "sampleValue"
to the default value "all"
, so the array looks like this.
[
"parameterSetOne": "all, sampleValue",
"parameterSetTwo" : 20.00,
"parameterSetThree" : date(),
]