MCPcopy Create free account
hub / github.com/BaseXdb/basex / isFalse

Method isFalse

basex-core/src/main/java/org/basex/util/Strings.java:88–90  ·  view source on GitHub ↗

Checks if the specified string is "no", "false", "off" or "0". @param string string to be checked (can be null) @return result of check

(final String string)

Source from the content-addressed store, hash-verified

86 * @return result of check
87 */
88 public static boolean isFalse(final String string) {
89 return eqic(string, Text.FALSE, Text.NO, Text.OFF, "0");
90 }
91
92 /**
93 * Compares two strings for equality.

Callers 2

toBooleanMethod · 0.95
sendRequestMethod · 0.95

Calls 1

eqicMethod · 0.95

Tested by

no test coverage detected