Skip to content

@graphty/graphty-element / session / RuleTestKind

Type Alias: RuleTestKind ​

RuleTestKind = "range" | "top" | "above" | "categories" | "text"

Defined in: graphty-element/src/catalog/types.ts:1703

A rule leaf that can test a ReadableValue, by the kind it has in a RuleTree: range (between, at least, at most, is), top (a threshold leaf's top N), above (a threshold leaf's strictly above), categories (is one of, is not one of) and text (contains, is, starts with, ends with, matches).

More kinds may be added in a minor release.

Since ​

3.26.0