Function combine

  • Combine multiple validators into one. The first validator to return an error message will be used.

    Returns

    A validator that combines the given validators.

    Parameters

    • Rest ...validators: Validator<unknown>[]

      The validators to combine.

    Returns Validator

Generated using TypeDoc