ObjcLDBoolEvaluationDetail

@objc(LDBoolEvaluationDetail)
public final class ObjcLDBoolEvaluationDetail : NSObject

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

  • The value of the flag for the current context.

    Declaration

    Swift

    @objc
    public let value: Bool
  • 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]?