IFormatter

fun interface IFormatter

A functional interface for formatting strings.

This interface provides a method to format a string according to specific rules or styles. Implementations of this interface can be used to transform strings into a desired format, such as applying text styles, correcting grammar, or adding specific prefixes or suffixes.

Functions

Link copied to clipboard
abstract fun format(message: String): String

Formats the given message and returns the formatted string.