CRUDUI

Home > @polyspec/crudui-validator > Evaluated

Evaluated type

An evaluated value: either a single Expression or a ConditionMap. Used by design.show/design.class/design.style, conditional validate.*, etc. The call site fixes the expected result type (boolean for show, string for class/style, …).

Signature:

export type Evaluated<V = unknown> = V | Expression | ConditionMap<V>;

References: Expression, ConditionMap