array swift did you mean to unwrap optional? code example
Example: how to unwrap arrays with optional value in swift
let arrayOfOptionals: [String?] = ["Seems", "like", "an", nil, "of", "optionals"]
let arrayWithNoOptionals = arrayOfOptionals.compactMap { $0 }