@objc func headertapped(sender: UITapGestureRecognizer) {
guard let section = sender.view?.tag else {
return
}
courseArray[section].isShown.toggle()

tableView.beginUpdates()←
tableView.reloadSections([section], with: .automatic)←
tableView.endUpdates()←
}

矢印の部分で型決定の情報がないってエラーメッセージでるんだが原因わかる?