function parseFieldTargetId(field) {
  const dimension = FieldDimension.parseMBQLOrWarn(field);
  if (dimension) {
    if (dimension.isIntegerFieldId()) {
      return dimension.fieldIdOrName();
    }
  }
  return field;
}
/**
 * Get the raw integer ID from a `field` clause, otherwise return the clause as-is. (TODO: Why would we want to
 * return the clause as-is?)
 */
Get the raw integer ID from a `field` clause, otherwise return the clause as-is. (TODO: Why would we want to
return the clause as-is?)
Get the raw integer ID from a ` field ` clause otherwise return the clause as - is . ( TODO : Why would we want to return the clause as - is? )
function parseFieldTargetId(field) {
  const dimension = FieldDimension.parseMBQLOrWarn(field);
  if (dimension) {
    if (dimension.isIntegerFieldId()) {
      return dimension.fieldIdOrName();
    }
  }
  return field;
}
function parseFieldTargetId ( field ) { const dimension = FieldDimension . parseMBQLOrWarn ( field ) ; if ( dimension ) { if ( dimension . isIntegerFieldId ( ) ) { return dimension . fieldIdOrName ( ) ; } } return field ; }
Get the raw integer ID from a `field` clause, otherwise return the clause as-is.
Get the raw integer ID from a ` field ` clause otherwise return the clause as - is .