MCPcopy Create free account
hub / github.com/egg82/fetcharr / parse

Method parse

Lib/src/main/java/me/egg82/arr/parse/BooleanParser.java:22–24  ·  view source on GitHub ↗
(boolean def, @Nullable String val)

Source from the content-addressed store, hash-verified

20 }
21
22 public static boolean parse(boolean def, @Nullable String val) {
23 return parse(def, val, false);
24 }
25
26 public static boolean parse(boolean def, @Nullable String val, boolean silent) {
27 if (val == null || val.isBlank()) {

Callers 5

getBoolMethod · 0.95
getBoolMethod · 0.95
getMethod · 0.95
getBoolMethod · 0.95
parseMethod · 0.95

Calls 1

parseIntMethod · 0.95

Tested by

no test coverage detected