input-string-port?

[procedure] input-string-port? obj

[procedure] output-string-port? obj

STk, STklos: see also input-file-port?, input-virtual-port?, etc.

Gauche has port-type to check the type of the port.