MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / getBoolForKey

Function getBoolForKey

Trash/stringTable.c:298–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298BOOL getBoolForKey(
299 char *key
300)
301{
302 char *val;
303 INTN, size;
304
305 if (getValueForKey(key, &val, &size) && (size >= 1) &&
306 val[0] == 'Y' || val[0] == 'y')
307 return YES;
308 return NO;
309}
310
311BOOL getValueForKey(
312 char *key,

Callers

nothing calls this directly

Calls 1

getValueForKeyFunction · 0.85

Tested by

no test coverage detected