Appearance
function random(str: string): string
Returns a random character of the string.
str.random('') // '' str.random('a') // 'a' str.random('Rafael') // 'R' | 'a' | 'f' | 'a' | 'e' | 'l'