[Solved] How found and get value in an array [closed]


for item in firstArray{
    let user_id=item.value(forKey: "id") as! String
    if user_id==some_id{
        print("found user")
    }
}

2

solved How found and get value in an array [closed]