IsString

public static bool IsString(this Type type)
{
	return type.Equals(typeof(string));
}
Example:
Type type = ("Taiwan").GetType();
bool isString = type.IsString();

Description

Checks whether the type is string.

Details

Double click on the code to select all.

 

;