Checks that the value is a string.

string(1); // Error: type
string("hello"); // passes