Does macOS Screen Sharing Work if a TV is the Monitor?

Does macOS Screen Sharing Work if a TV is the Monitor?