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

    Type Alias Validator<T>

    Validator: (value: T) => undefined | Trace

    Value validator.

    Maps a value to the Trace possibly reporting the violations it incurs.

    Type Parameters

    • T

      The type of the validated value

    Type Declaration

      • (value: T): undefined | Trace
      • Parameters

        • value: T

        Returns undefined | Trace