Skip to content

Function: ruleIssues() ​

ruleIssues(rules, value, path, coerce?): ValidationIssue[]

Defined in: src/pipeline.ts:213

Every rule a value breaks. null/undefined only break required - an optional field that is absent has nothing to check; required also rejects the empty string.

Parameters ​

rules ​

FieldRules

value ​

unknown

path ​

string

coerce? ​

CoerceTo

Returns ​

ValidationIssue[]