Optional extension Optional: AnyOptional isNil Returns true if the optional is empy Declaration Swift public var isNil: Bool { get } wrapped Unsafely unwrap the content of this optional Make sure to check ifNil before accessing this property, otherwise the unsafe unwrap might fail Declaration Swift public var wrapped: Any { get }