• Validator that requires the control value to have no consecutive spaces.

    Parameters

    • c: AbstractControl

    Returns ValidationErrors | null

    An error object with the noConsecutiveSpaces property if the validation check fails, otherwise null.