(
item:
| Field
| AdditionalMetric
| TableCalculation
| CustomDimension
| undefined,
)
| 597 | // expressions the same way formatItemValue does. Returns undefined for the |
| 598 | // default/US separator so output stays byte-identical. |
| 599 | export function getFormatExpressionLocale( |
| 600 | item: |
| 601 | | Field |
| 602 | | AdditionalMetric |
| 603 | | TableCalculation |
| 604 | | CustomDimension |
| 605 | | undefined, |
| 606 | ): string | undefined { |
| 607 | return separatorToNumfmtLocale(getEffectiveSeparator(item)); |
| 608 | } |
| 609 | |
| 610 | export function getCustomFormat( |
| 611 | item: |
no test coverage detected