• Results in "validity" if the specified function returns true for a given value, otherwise results in "invalidity".

    Type Parameters

    • T

    Parameters

    • checker: ((value) => boolean)
        • (value): boolean
        • Parameters

          • value: T

          Returns boolean

    • validationError: ValidationError = defaultValidationError

    Returns ValidationCheckerFunction<T>

Generated using TypeDoc