JavaScript obtenga clase de cuerpo
document.body.classList.contains('my-class-name')
Dreamy bird
document.body.classList.contains('my-class-name')