src/modules/core/data/record.ts
Consider simplifying this complex logical expression. Wontfix
Wontfix
if ((value === NOT_FOUND || value === '' || value === '<p></p>' || value === '\n' || (typeof value === 'object' && isEmpty(value))) && value !== 0 && value !== false) {
return false;
} else {
return !!value;
}
Avoid deeply nested control flow statements. Wontfix
Wontfix
if (transform) {
value = transform(get(record, key, defaultValue), {
fallbacks,
record,
key,