(value: unknown)
| 7 | import type {ProfileScenario} from './types.ts'; |
| 8 | |
| 9 | export function isObject(value: unknown): value is Record<string, unknown> { |
| 10 | return typeof value === 'object' && value !== null; |
| 11 | } |
| 12 | |
| 13 | export function formatBytes(bytes: number): string { |
| 14 | return `${(bytes / 1024 / 1024).toFixed(2)} MiB`; |
no outgoing calls
no test coverage detected