EarnMorev1.0.0

validateBirthPlace

validateBirthPlace(birthPlace: string): void

Source: hash.ts:24

Validates that birthPlace contains only letters and spaces. Throws a descriptive error if it doesn't.

Parameters

  • birthPlace (string)

Returns

  • void