UNPKG

@segment/analytics-next

Version:

Analytics Next (aka Analytics 2.0) is the latest version of Segment’s JavaScript SDK - enabling you to send your data to any tool without having to learn, test, or use a new API every time.

9 lines 465 B
import { PlanEvent, TrackPlan } from '../core/events/interfaces'; /** * Determines whether a track event is allowed to be sent based on the * user's tracking plan. * If the user does not have a tracking plan or the event is allowed based * on the tracking plan configuration, returns true. */ export declare function isPlanEventEnabled(plan: TrackPlan | undefined, planEvent: PlanEvent | undefined): boolean; //# sourceMappingURL=is-plan-event-enabled.d.ts.map