surveilr_mask_phone()

Masks a phone number by replacing the middle digits with asterisks.

Introduced in version 1.0.0.

Parameters

phone

`String` - The phone number to mask.