Trying to make an IsLowercase

Feeling warm and fuzzy about this one… excited to hit play and have my dreams inevitably crushed. :smiley:

bool FBullCowGame::IsLowerCase(FString Word) const
{
	if (Word.length() <= 1) { return true; }
	for (auto Letter : Word)
	{
		if (!islower(Letter)) { return false; }
	}
	return true;
}

Privacy & Terms