@shopify/cli-kit
    Preparing search index...

    Function normalizeDelimitedString

    • Given a string that represents a list of delimited tokens, it returns the normalized string representing the same list, without empty elements, sorted, and with no duplicates.

      Parameters

      • OptionaldelimitedString: string

        String to normalize.

      • delimiter: string = ','

        Delimiter used to split the string into tokens.

      Returns string | undefined

      String with the normalized list of tokens.