hasSegment

abstract fun hasSegment(segmentId: String?): Boolean

Returns whether a profile has a segment or not.

Check if a profile is in a segment by matching on Segment ID

Return

true when the profile has/ falls in the segment. if not returns false.

Parameters

segmentId

The ID of the segment.