i have a class with a function like this
class someClass {
func someWorkNeedToDo(var1: String) {
@Binding var action: Bool
}
now i want to pass a Binded Boolean to this function so that i can control the navigation. what is the correct way to do this.
Thanks