• Validator that requires the control value to be a valid phone number.

    Parameters

    • c: AbstractControl

    Returns ValidationErrors | null

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