function getComponentActualValue(compPath, data, row) {
  let value = null;

  if (data) {
    value = getValue({ data }, compPath);
  }

  if (row && _.isNil(value)) {
    value = getValue({ data: row }, compPath);
  }

  // FOR-400 - Fix issue where falsey values were being evaluated as show=true
  if (_.isNil(value) || (_.isObject(value) && _.isEmpty(value))) {
    value = '';
  }
  return value;
}
Returns a components normalized value.
@param {string} compPath - The full path to the component.
@param {*} data - The data object to get the value from.
@param {*} row - The contextual row data for the component.
@returns {*} - The normalized value of the component.