Function strRemoveDuplicateChars

  • Removes duplicate characters from a string.

    Parameters

    • string: string

      The string from which to remove duplicate characters.

    Returns string

    Throws

    Will throw an error if the provided argument is not a string.

    Example

    strRemoveDuplicateChars('hello');
    //=> 'helo'

Generated using TypeDoc