I guess the #Clojure slick truth model usually sidesteps this:
(let [home (or address "no address")]
home)
and I like having some-> for safe interop:
---
RT @DThompsonDev
Javascript has a cool feature called Nullish coalescing. A logical operator that returns the value of the right side if it is null or undefined.
const home= address ?? "No address"
If address is Null, it returns the right side. I really like the way t…
https://twitter.com/DThompsonDev/status/1442124677766320133