@farmart-tech/brave-admin-sdk
    Preparing search index...

    Interface ISegmentGroupClass

    Interface for evaluating if a context matches a segment.

    interface ISegmentGroupClass {
        segmentName: string;
        getIsGlobal(): boolean;
        getSegmentData(): ISegmentGroup;
        userInGroup(ctx: GeneralContext): boolean;
    }
    Index

    Properties

    segmentName: string

    Name of the segment.

    Methods

    • Checks if segment data is global.

      Returns boolean

    • Retrieves the raw segment configuration.

      Returns ISegmentGroup

    • Checks if the given context belongs to this segment.

      Parameters

      • ctx: GeneralContext

      Returns boolean