Just having a book that you've written on any topic listed somewhere on your resume is nearly always a positive. It is kind of like having a college degree in that it shows you can start something and finish it.
way more people finish college than publish a book though. It's a higher-level signal IMO, even a self-published book is a massive accomplishment that shows huge dedication.