RSDSurveyRuleOperator

public enum RSDSurveyRuleOperator : String, Codable, RSDStringEnumSet

List of rules creating the survey rule items.

  • Survey rule for checking if the skip identifier should apply if the answer was skipped in which case the result answer value will be nil

    Declaration

    Swift

    case skip = "de"
  • The answer value is equal to the matchingAnswer.

    Declaration

    Swift

    case equal = "eq"
  • The answer value is not equal to the matchingAnswer.

    Declaration

    Swift

    case notEqual = "ne"
  • The answer value is less than the matchingAnswer.

    Declaration

    Swift

    case lessThan = "lt"
  • The answer value is greater than the matchingAnswer.

    Declaration

    Swift

    case greaterThan = "gt"
  • The answer value is less than or equal to the matchingAnswer.

    Declaration

    Swift

    case lessThanEqual = "le"
  • The answer value is greater than or equal to the matchingAnswer.

    Declaration

    Swift

    case greaterThanEqual = "ge"
  • The answer value is other than the matchingAnswer. This is intended for use where the answer type is an array and the comparison is for the case where the array is evaluated as the elements are not included. For example, if the matchingAnswer is [0,3] and the result answer is [2,4] then this will evaluate to true and return the skipIdentifier because neither 2 nor 4 are in the set defined by the matchingAnswer.

    Declaration

    Swift

    case otherThan = "ot"
  • The rule should always evaluate to true.

    Declaration

    Swift

    case always