create an empty array of specific type swift code example
Example 1: swift empty an array
myArray.removeAll()
Example 2: array swift
var students = ["Ben", "Ivy", "Jordell"]
myArray.removeAll()
var students = ["Ben", "Ivy", "Jordell"]