Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
open class RegexValidatingSerializer(regex: Regex) : KSerializer<String>

Properties

Link copied to clipboard
const val API_KEY_LENGTH: Int = 37

Represents the length of an API key.

Link copied to clipboard

Represents the characters that can be used in an account identifier.

Link copied to clipboard
const val ID_LENGTH: Int = 24

Represents the length of an identifier.

Functions

Link copied to clipboard

Generates a new API key. This does not mean that the key is valid. The key is generated using the same method as the identifier.

Link copied to clipboard

Generates a new unique identifier.

Link copied to clipboard

Strips HTML tags from a string. This function uses a regular expression to remove all HTML tags from the input string, leaving only the text content.

Link copied to clipboard

Converts an angle in degrees to radians.