Ch 15: alert(item:) takes a Binding, not a Publisher

In chapter 15 the book says:

The alert(item:) modifier controls an alert presentation on-screen. It takes a publisher with an optional output called the item. Whenever that publisher emits a non-nil value, it presents the alert view.”

That doesn’t seem accurate. The argument is Binding and a Binding is not a Publisher. Am I missing something?

Rob

@scotteg Can you please help with this when you get a chance? Thank you - much appreciated! :]

That seems like a something that just slipped through editing, we’ll fix it in the next version of the book, thank you!