Skip to main content

BusinessRuleArrayExpression

Represents a business rule array expression

type BusinessRuleArrayExpression implements IBusinessRuleExpression {
id: ID!
type: BusinessRuleExpressionTypes!
operator: BusinessRuleArrayExpressionOperators!
string: String
number: Float
path: String
}

Fields

BusinessRuleArrayExpression.id ● ID! non-null scalar

BusinessRuleArrayExpression.type ● BusinessRuleExpressionTypes! non-null enum

BusinessRuleArrayExpression.operator ● BusinessRuleArrayExpressionOperators! non-null enum

BusinessRuleArrayExpression.string ● String scalar

BusinessRuleArrayExpression.number ● Float scalar

BusinessRuleArrayExpression.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/array for options.

Interfaces

IBusinessRuleExpression interface

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