Skip to main content

Interface: BusinessRuleStringExpression

Defined in: type/BusinessRuleStringExpression.ts:6

Represents a business rule string expression

Properties

id

id: string | number

Defined in: type/BusinessRuleStringExpression.ts:8

id field


operator

operator: BusinessRuleStringExpressionOperators

Defined in: type/BusinessRuleStringExpression.ts:12

operator field


path?

optional path?: string

Defined in: type/BusinessRuleStringExpression.ts:21

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.


string

string: string

Defined in: type/BusinessRuleStringExpression.ts:14

string field


type

type: BusinessRuleExpressionTypes

Defined in: type/BusinessRuleStringExpression.ts:10

type field