Class: Assignment
functions/getExperimentCondition.Assignment
Table of contents
Constructors
constructor
Accessors
factors
Methods
getCondition
getExperimentType
getFactorLevel
getFactorPayload
getPayload
markDecisionPoint
Constructors
constructor
β’ new Assignment(conditionCode
, payload
, assignedFactor?
)
Parameters
conditionCode
string
payload
Object
payload.type
PAYLOAD_TYPE
payload.value
string
assignedFactor?
Record
<string
, { level
: string
; payload
: { type
: PAYLOAD_TYPE
; value
: string
} }>
Defined in
functions/getExperimentCondition.ts:10
Accessors
factors
β’ get
factors(): string
[]
Returns
string
[]
Defined in
functions/getExperimentCondition.ts:34
Methods
getCondition
βΈ getCondition(): string
Returns
string
Defined in
functions/getExperimentCondition.ts:22
getExperimentType
βΈ getExperimentType(): EXPERIMENT_TYPE
Returns
EXPERIMENT_TYPE
Defined in
functions/getExperimentCondition.ts:30
getFactorLevel
βΈ getFactorLevel(factor
): string
Parameters
factor
string
Returns
string
Defined in
functions/getExperimentCondition.ts:38
getFactorPayload
βΈ getFactorPayload(factor
): IPayload
Parameters
factor
string
Returns
IPayload
Defined in
functions/getExperimentCondition.ts:46
getPayload
βΈ getPayload(): IPayload
Returns
IPayload
Defined in
Last updated