I'm trying to use this function:
var handler: (String, (Bool) -> Void) -> Void
And the error displayed in the preview provider is that there's a missing argument for the parameter in call, but I don't know how to do that properly.
Insert ', handler: <#(String, (Bool) -> Void) -> Void#>'
If you have some documentation or explanation about handling these types of data in the preview provider I'd be really grateful.