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

    Parameters

    • c: AbstractControl

    Returns ValidationErrors | null

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