IsMacAddress

Determines whether a given input represents a valid MAC (Media Access Control) address.

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

The IsMacAddress class is meant to be instantiated and used to validate MAC addresses. It inherits common functionality from the Function base class.

Constructors

Link copied to clipboard
constructor()

Creates an instance of the IsMacAddress class.

Functions

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

Runs the function logic for the given input value.