I want to do something like
doc = try? Doc(url) else Doc()
Is there a way to do something clean like that without much ado? I tried
doc = try? Doc(url) : Doc()
But that didn't work
I want to do something like
doc = try? Doc(url) else Doc()
Is there a way to do something clean like that without much ado? I tried
doc = try? Doc(url) : Doc()
But that didn't work