AnyOptional public protocol AnyOptional Protocol used for identifying generic optional objects isNil Returns a boolean flag, if the object implementing this protocol represents nil Declaration Swift var isNil: Bool { get } wrapped Returns the object, in case it is not nil Declaration Swift var wrapped: Any { get }