Skip to main content

BusinessRuleNumberExpressionInput

Input for creating numeric expressions with mathematical comparisons and range validations

input BusinessRuleNumberExpressionInput {
operator: BusinessRuleNumberExpressionOperators!
number: Float!
path: String
}

Fields

BusinessRuleNumberExpressionInput.operator ● BusinessRuleNumberExpressionOperators! non-null enum

Mathematical comparison operator defining how the numeric value should be evaluated against the target field

BusinessRuleNumberExpressionInput.number ● Float! non-null scalar

Numeric value to compare against the target field using the specified operator

BusinessRuleNumberExpressionInput.path ● String scalar

Path to the field, can be used to add additional expressions and calulations on the field. Use $ to target the field's value. When omitted the field's value is used. The expression will be used on the left hand side of the operator. Can also be used to target a specific property in a complex expression's sub-expression Check https://gorules.io/docs/rules-engine/expression-language/string for options.

Member Of

BusinessRuleExpressionUnionInput input