how to tell if this proximity sensor is NPN or PNP?
It is a PNP.  A 10K ohm resistor is almost like an open for most of these current levels meaning that using your voltmeter to check vs using a 10kohm resistor plus a voltmeter might as well be the same.