Your comment intrigued me, so I looked more into it, as I've never heard of this differentiation based on bladder irritation vs. pulling water from bloodstream. Perhaps a technical definition?
My understanding is that caffeine itself is a mild diuretic, but doesn't dehydrate you when brewed as drip coffee because there's more water than diuretic effect. I assume espresso would have more of a diuretic effect due to the relative caffeine concentration. I used the Britanncia definition and this article: https://www.aicr.org/news/will-coffee-make-me-dehydrated/.
No contention on the alcohol commentary. Happy to be wrong, just contrasted strongly with my understanding :)
Edit: I didn't like the lack of references so I'll add a mayoclonic article https://www.mayoclinic.org/healthy-lifestyle/nutrition-and-healthy-eating/expert-answers/caffeinated-drinks/faq-20057965