isParticipant
static
isParticipant(testID
:
String, segmentID
:
String)
:
boolean
Test whether the current customer is a member of the specified AB-test
segment. This method can be used to customize the storefront experience
in ways that are not supported using Business Manager configuration
alone.
Parameters:
testID
-
The ID of the AB-test, must not be null.
segmentID
-
The ID of the segment within the AB-test, must not be null.
Returns:
true if the current customer is a member of the specified AB-test segment, false otherwise.