Strict type comparison for strings and .length