MCPcopy Create free account
hub / github.com/Tracktion/tracktion_engine / getStringOrDefault

Function getStringOrDefault

examples/common/Utilities.h:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 }
22
23 static inline String getStringOrDefault (const String& stringToTest, const String& stringToReturnIfEmpty)
24 {
25 return stringToTest.isEmpty() ? stringToReturnIfEmpty : stringToTest;
26 }
27
28 static inline File findRecentEdit (const File& dir)
29 {

Callers 1

setFileMethod · 0.85

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected