IsMaritalStatus
Determines whether a given input represents a valid marital status.
This class extends the Function class and provides a method to check if a given input represents a valid marital status. The implementation follows the specified validation rules.
The IsMaritalStatus class is meant to be instantiated and used to validate marital statuses. It inherits common functionality from the Function base class.
Constructors
Link copied to clipboard
constructor()
Creates an instance of the IsMaritalStatus class.