Skip to main content

BusinessRuleNumberExpression

Represents a business rule number expression

type BusinessRuleNumberExpression implements IBusinessRuleExpression {
id: ID!
type: BusinessRuleExpressionTypes!
operator: BusinessRuleNumberExpressionOperators!
number: Float!
path: String
}

Fields

BusinessRuleNumberExpression.id ● ID! non-null scalar

BusinessRuleNumberExpression.type ● BusinessRuleExpressionTypes! non-null enum

BusinessRuleNumberExpression.operator ● BusinessRuleNumberExpressionOperators! non-null enum

BusinessRuleNumberExpression.number ● Float! non-null scalar

BusinessRuleNumberExpression.path ● String scalar

Path to the field, can be used to add additional expressions and calculations 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/number for options.

Interfaces

IBusinessRuleExpression interface

Interface for the BaseUser Type, where deferent types of BusinessRuleNodes derive from