From https://stackoverflow.com/questions/24101450/how-do-you-find-out-the-type-of-an-object-in-swift
type(of: yourObject)