ObjcLDIntegerEvaluationDetail

@objc(LDIntegerEvaluationDetail)
public final class ObjcLDIntegerEvaluationDetail : NSObject

Structure that contains the evaluation result and additional information when evaluating a flag as an integer.

  • The value of the flag for the current context.

    Declaration

    Swift

    @objc
    public let value: Int
  • The index of the returned value within the flag’s list of variations, or -1 if the default was returned.

    Declaration

    Swift

    @objc
    public let variationIndex: Int
  • A structure representing the main factor that influenced the resultant flag evaluation value.

    Declaration

    Swift

    @objc
    public let reason: [String : ObjcLDValue]?