surveilr_mask_dob()

Masks a date of birth (DOB) by preserving only the year and replacing other fields with asterisks.

Introduced in version 1.0.0.

Parameters

dob

`String` - The date of birth to mask in `YYYY-MM-DD` format.