Function strToCharSet

  • Converts a string to a set of unique characters.

    Parameters

    • string: string

      The string to be converted.

    Returns Set<string>

    Example

    strToCharSet('hello');;
    //=> Set { 'h', 'e', 'l', 'o' }

Generated using TypeDoc