isEnvMappingEmpty.tsx 299 B

12345678
  1. import type {MonitorBucketEnvMapping} from 'sentry/views/monitors/components/overviewTimeline/types';
  2. /**
  3. * Determines if an environment mapping includes any job run data
  4. */
  5. export function isEnvMappingEmpty(envMapping: MonitorBucketEnvMapping) {
  6. return Object.keys(envMapping).length === 0;
  7. }