🌈 搜索
📅  最后修改于: 2022-03-11 15:01:03.450000             🧑  作者: Mango
for (idx, element) in array.enumerated() { if idx == array.endIndex-1 { // handling the last element } }