IsBloodGroup

Determines whether a given input represents a valid blood group.

This class extends the Function class and provides a method to check if a given input represents a valid blood group. The implementation follows the specified validation rules.

The IsBloodGroup class is meant to be instantiated and used to validate blood groups. It inherits common functionality from the Function base class.

Constructors

Link copied to clipboard
constructor()

Creates an instance of the IsBloodGroup class.

Functions

Link copied to clipboard
open override fun run(value: String): Boolean

Checks if the given string value meets a certain criteria for a blood group.