Hacker News new | ask | show | jobs
by ahmedk92 3525 days ago
You can use `as?`:

if let string = thing as? String