MCPcopy Create free account
hub / github.com/Card-Forge/forge / startsWithVowel

Method startsWithVowel

forge-core/src/main/java/forge/util/Lang.java:184–186  ·  view source on GitHub ↗
(final String word)

Source from the content-addressed store, hash-verified

182 public abstract String getPossessedObject(final String owner, final String object);
183
184 public static boolean startsWithVowel(final String word) {
185 return isVowel(word.trim().charAt(0));
186 }
187
188 private static final Pattern VOWEL_PATTERN = Pattern.compile("[aeiou]", Pattern.CASE_INSENSITIVE);
189

Callers 6

getDescriptiveTypeMethod · 0.95
addTriggerAbilityMethod · 0.95
getStackDescriptionMethod · 0.95
nounWithAmountMethod · 0.95

Calls 1

isVowelMethod · 0.95

Tested by

no test coverage detected