(session: Session.Info | undefined)
| 37 | ) |
| 38 | |
| 39 | export function isParent(session: Session.Info | undefined): session is Session.Info & { |
| 40 | benchmark: BenchmarkSchema.Parent |
| 41 | } { |
| 42 | return session?.benchmark?.type === "parent" |
| 43 | } |
| 44 | |
| 45 | export function isChild(session: Session.Info | undefined): session is Session.Info & { |
| 46 | benchmark: BenchmarkSchema.ChildSession |
no outgoing calls
no test coverage detected