IsUsSsn

Determines whether a given input is a valid US Social Security Number (SSN).

This class extends the Function class and provides a method to check if a given input is a valid US Social Security Number (SSN). The implementation follows the specified validation rules.

The IsUsSsn class is meant to be instantiated and used to validate US Social Security Number (SSN). It inherits common functionality from the Function base class.

Constructors

Link copied to clipboard
constructor()

Creates an instance of the IsUsSsn class.

Functions

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

Runs a validation or processing logic for the given input value.