Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

458 B
Raw Blame
import { CompareFilter, WebAnalyticsPropertyFilters } from '~/queries/schema/schema-general'

import * as validators from './web-analytics-validators.js'

export const isWebAnalyticsPropertyFilters = (data: unknown): data is WebAnalyticsPropertyFilters => {
    return validators.WebAnalyticsPropertyFilters(data) as boolean
}

export const isCompareFilter = (data: unknown): data is CompareFilter => {
    return validators.CompareFilter(data) as boolean
}