( self: Metric.Attributes | undefined, other: Metric.Attributes | undefined )
| 3500 | } |
| 3501 | |
| 3502 | function mergeAttributes( |
| 3503 | self: Metric.Attributes | undefined, |
| 3504 | other: Metric.Attributes | undefined |
| 3505 | ): Metric.AttributeSet { |
| 3506 | return { ...attributesToRecord(self), ...attributesToRecord(other) } |
| 3507 | } |
| 3508 | |
| 3509 | function attributesToRecord(attributes?: Metric.Attributes): Metric.AttributeSet | undefined { |
| 3510 | if (Predicate.isNotUndefined(attributes) && Array.isArray(attributes)) { |
no test coverage detected