Function
isSpanTimeInput
(value: undefined | SpanAttributes | SpanTimeInput)
Source from the content-addressed store, hash-verified
| 454 | } |
| 455 | |
| 456 | function isSpanTimeInput(value: undefined | SpanAttributes | SpanTimeInput): value is SpanTimeInput { |
| 457 | return (value && typeof value === 'number') || value instanceof Date || Array.isArray(value); |
| 458 | } |
| 459 | |
| 460 | // We want to filter out any incomplete SpanJSON objects |
| 461 | function isFullFinishedSpan(input: Partial<SpanJSON>): input is SpanJSON { |
Tested by
no test coverage detected