Table of Contents

Enum RuleFunctionValueKind

Namespace
RuleWright.Core
Assembly
RuleWright.Core.dll

A coarse hint about the shape of the value operand a custom IRuleFunction expects, when it opts into IRuleFunctionMetadata. Purely descriptive — the engine never validates against it; it exists so a rule-authoring UI can choose an appropriate value editor for the custom operator.

public enum RuleFunctionValueKind

Fields

Unspecified = 0

No metadata was supplied; the expected shape is unknown.

None = 1

The function ignores value — only the field matters.

Scalar = 2

A single scalar (number, string, or boolean).

Array = 3

An array of values, e.g. the [min, max] pair for a range check.

Text = 4

A single string value.