MCPcopy Index your code
hub / github.com/ccxt/ccxt / stringOr

Method stringOr

java/lib/src/main/java/io/github/ccxt/base/Precise.java:258–263  ·  view source on GitHub ↗
(Object string1, Object string2)

Source from the content-addressed store, hash-verified

256 }
257
258 public static String stringOr(Object string1, Object string2) {
259 if (string1 == null || string2 == null) return null;
260 return new Precise(String.valueOf(string1))
261 .or(new Precise(String.valueOf(string2)))
262 .toString();
263 }
264
265 public static boolean stringGt(Object a, Object b) {
266 if (a == null || b == null) return false;

Callers

nothing calls this directly

Calls 2

toStringMethod · 0.45
orMethod · 0.45

Tested by

no test coverage detected