RANDOM

RANDOM("random", { string -> string.toCharArray().map { it.toRandomCase() }.joinToString("") })

Makes each letter randomly uppercase or lowercase.

Functions

toString
Link copied to clipboard
open override fun toString(): String
Returns the descriptor of the capitalization mode.

Properties

descriptor
Link copied to clipboard
val descriptor: String
the name of the capitalization mode
name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
transform
Link copied to clipboard
val transform: (String) -> String
the function which capitalizes the given string to the mode's format