Created
January 16, 2020 01:46
-
-
Save parzibyte/95e15a7fc6c4557135d3ea30d6118c86 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static boolean esConsonante(char letra) { | |
return "bcdfghjklmnñpqrstvwxyz".contains(String.valueOf(letra).toLowerCase()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment