mithril-materialized
    Preparing search index...

    Interface ValidatorFunction<T>

    Validation function interface

    Type Parameters

    • T

      The type of value being validated

    • Validates a value

      Parameters

      • value: T

        The value to validate

      • Optionalelement: HTMLInputElement

        Optional HTML element for context

      Returns ValidationResult

      True/empty string for success, false/error message for failure