Skip to main content
Journey Uncommon Logo
JourneyUncommon
easySwiftoptional chainingSingle-choice MCQ

What does calling an optional method via chaining return when the method itself returns Void?

var list: [Int]? = [1, 2, 3] let r = list?.removeAll() print(type(of: r))