@metreeca/core - v0.9.22
    Preparing search index...

    Function all

    • Requires every validator to pass.

      Applies all validators and reports the violations of each, so a single run surfaces every constraint a value breaks rather than stopping at the first.

      Reports are merged in flat: messages accumulate side by side, whichever validator contributed them, and sub-traces reported against the same key accumulate under it in turn. A violation reported more than once is retained once.

      Type Parameters

      • T

        The type of the validated value

      Parameters

      • ...validators: readonly Modal<Validator<T>>[]

        The validators to apply; omitted or disabled validators are ignored

      Returns Validator<T>

      A validator reporting the combined violations of every enabled validator