just remembered that months ago I dropped my phone in snow and usb-c port stopped working for a while, there was "Warning: water or debris in your usb-c port, don't charge your phone or plug anything in it" or something similar.
As of today, the port for charging is still working fine and my phone is still capable to transfer files with a USB drive. I'm not aware of the technical differences between the connection for transferring files to a USB drive or connecting to another phone, but I suppose it's same (?), thus, if it is, we can tell the port is still working fully.