test whether the type of its argument is string.
string(Term)
string(Term) (i)
void(Term) (i) Term to be tested.
String() succeeds if its argument is unbound or currently bound to a string.
NOTE: This implementation of BAP treats strings and atom just the same. This might change in future releases.
read(X), ( string(X), write("String"),nl ; integer(X), write("Integer"),nl ).
No runtime errors.
prolog-process, client-server, object