(span: SpanWithPotentialChildren)
| 425 | * Returns the segment span of a given span. |
| 426 | */ |
| 427 | export function INTERNAL_getSegmentSpan(span: SpanWithPotentialChildren): Span { |
| 428 | return span[ROOT_SPAN_FIELD] || span; |
| 429 | } |
| 430 | |
| 431 | /** |
| 432 | * Returns the currently active span. |
no outgoing calls
no test coverage detected