Skip to main content

Char

The char provider generates a random character from a list of chars.

Default Behavior

From ('a'..'z') + ('A'..'Z') + ('0'..'9')

Extending the Provider

You can specify a list of chars to pass to the provider:

    val char = CharProvider(chars = listOf('a', 'b')).get()