I am getting the following error at the line of code below. My app crashes when the value is nil/empty, hence why I am trying to guard unwrap.
Error: Initializer for conditional binding must have Optional type, not '[String : String]'
guard let savedByUsers = venue.childSnapshot(forPath: "bookmarkedByUsers").value as! [String : String] else { return }
as!->as?Conditionally unwrapping something you already force unwrapped is redundant. - John Montgomery