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

    Type Alias Validator<T>

    Validator: (value: T) => Optional<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