He did both...He was a pretty good magician, too. I think I used to catch him on Johnny Carson's show every now and then. Or, was it SNL? Anyway, that was before he starred in Night Court.
Always a joy watching him on TV.