Nodemcu and serial.swap

Am I correct in my understanding that if you use serial.swap with a nodemcu I can use pins D7 and D8 for rx/tx serial communications to a sensor? And those translate to Arduino pins 13,15?

Yes, have a look at this reference.