Complete the code to create a type alias named Age for Int.
typealias [1] = Inttypealias creates a new name for an existing type. Here, Age is the alias for Int.Complete the code to define a type alias Coordinates for a tuple of two Double values.
typealias [1] = (Double, Double)Coordinates clearly represents a tuple of two Double values, often used for x and y positions.Fix the error in the code by completing the type alias for a closure that takes an Int and returns a Bool.
typealias [1] = (Int) -> BoolIntPredicate is a common name for a closure that tests an Int and returns a Bool.Fill both blanks to create a type alias JSONDictionary for a dictionary with String keys and Any values.
typealias [1] = [[2]: Any]
Int as dictionary keys instead of String.AnyObject instead of Any for values.JSONDictionary represents a dictionary with String keys and values of any type, useful for JSON data.Fill all three blanks to create a type alias CompletionHandler for a closure that takes a Bool, an optional String, and returns Void.
typealias [1] = ([2], [3]) -> Void
String instead of optional.CompletionHandler defines a closure taking a Bool and an optional String, returning nothing (Void).