Jasmine
1.2.0 revision 1337005947
finished in 0.072s
Passing 387 specs
jList library v1.6.0
Public interfaces
01. Is defined as an object
02. Has a public function named listAppend
03. Has a public function named listChangeDelims
04. Has a public function named listConcatenate
05. Has a public function named listContains
06. Has a public function named listContainsNoCase
07. Has a public function named listDeleteAt
08. Has a public function named listDifference
09. Has a public function named listFind
10. Has a public function named listFindNoCase
11. Has a public function named listFirst
12. Has a public function named listGetAt
13. Has a public function named listInsertAt
14. Has a public function named listIntersection
15. Has a public function named listLast
16. Has a public function named listLen
17. Has a public function named listPrepend
18. Has a public function named listQualify
19. Has a public function named listRemove
20. Has a public function named listRemoveNoCase
21. Has a public function named listRemoveDuplicates
22. Has a public function named listRemoveDuplicatesNoCase
23. Has a public function named listReplace
24. Has a public function named listReplaceNoCase
25. Has a public function named listRest
26. Has a public function named listReverse
27. Has a public function named listSetAt
28. Has a public function named listSort
29. Has a public function named listUnion
30. Has a public function named listValueCount
31. Has a public function named listValueCountNoCase
31. Does not allow public access to the private function named numberCompareAsc
31. Does not allow public access to the private function named numberCompareDesc
31. Does not allow public access to the private function named quoteString
listAppend: Concatenates an element to a list.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Concatenates an element to an empty list using the default delimiter
04. Concatenates an element to a list that uses the default delimiter and is populated with a single element
05. Concatenates an element to a list that uses the default delimiter and is populated with multiple elements
06. Concatenates an element to an empty list that uses a custom delimiter
07. Concatenates an element to a list that uses a custom delimiter and is populated with a single element
08. Concatenates an element to a list that uses a custom delimiter and is populated with multiple elements
09. Concatenates an empty element to a list using the default delimiter
listChangeDelims: Changes a list delimiter.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Makes no change to a list which has only one element and the default delimiter
04. Makes no change to a list which has only one element and a custom delimiter
05. Makes no changes when the specified delimiter is not used in the list
06. Changes the list delimiter from the default value
07. Changes the list delimiter from a custom value
listConcatenate: Adds one list to the end of another.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Concatenates two empty lists
04. Concatenates a list with multiple elements that uses the default delimiter to an empty list
05. Concatenates an empty list to a list with multiple elements that uses the default delimiter
06. Concatenates two lists that have a single element
07. Concatenates a list with one element to a list that uses the default delimiter and has multiple elements
08. Concatenates a list that uses the default delimiter and has multiple elements to a list with one element
09. Concatenates a list that uses a custom delimiter to an empty list
10. Concatenates two lists populated with a single element using a custom delimiter
11. Concatenates a list with one element to a list populated with multiple elements that uses a custom delimiter
listContains: Determines the index of the first list element that contains a specified substring. The search is case-sensitive.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Finds a matching element in a list that uses the default delimiter
04. Finds a matching element in a list that uses a custom delimiter
05. Finds a matching element in a list that uses the default delimiter. Match at pos 1 because of delimiter mismatch (default delimiter)
06. Finds a matching element in a list that uses the default delimiter. Match at pos 1 because of delimiter mismatch (custom delimiter)
07. Fails to find a matching element in a list that uses the default delimiter because it is not present
08. Fails to find a matching element in a list that uses a custom delimiter because it is not present
09. Fails to find a matching element in a list that uses the default delimiter because of case mismatch
10. Fails to find a matching element in a list that uses a custom delimiter because of case mismatch
listContainsNoCase: Determines the index of the first list element that contains a specified substring. The search is not case-sensitive.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Finds a matching element in a list that uses the default delimiter
04. Finds a matching element in a list that uses a custom delimiter
05. Finds a matching element in a list that uses the default delimiter. Match at pos 1 because of delimiter mismatch (default delimiter)
06. Finds a matching element in a list that uses the default delimiter. Match at pos 1 because of delimiter mismatch (custom delimiter)
07. Fails to find a matching element in a list that uses the default delimiter because it is not present
08. Fails to find a matching element in a list that uses a custom delimiter because it is not present
09. Finds a matching element in a list that uses the default delimiter despite a case mismatch
10. Finds a matching element in a list that uses a custom delimiter despite a case mismatch
listDeleteAt: Deletes an element from a list.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Removes an element from a list that uses the default delimiter
04. Removes an element from a list that uses a custom delimiter
05. Makes no changes when the specified delimiter is not used in the list
06. Makes no changes when a custom delimiter is used in the list but a default delimiter is requested
07. Makes no changes when the list is empty and the default delimiter is used
08. Makes no changes when the list is empty and a custom delimiter is used
09. Makes no changes to a list using the default delimiter when the item to be deleted is not present in the list
10. Makes no changes to a list using a custom delimiter when the item to be deleted is not present in the list
11. Removes all items from a list using the default delimiter when item 1 is to be deleted and there is a delimiter mismatch
12. Removes all items from a list using a custom delimiter when item 1 is to be deleted and there is a delimiter mismatch
listDifference: Gets the elements that are unique to each of two different lists.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Gets the difference between two empty lists
04. Gets the difference between a list with multiple elements that uses the default delimiter and an empty list
05. Gets the difference between an empty list and a list with multiple elements that uses the default delimiter
06. Gets the difference between two lists that have a single common element
07. Gets the difference between two lists that have a single unique element
08. Gets the difference between a list with one element and a list that uses the default delimiter and has multiple elements
09. Gets the difference between a list that uses the default delimiter and has multiple elements and a list with one element
10. Gets the difference between a list with two elements and a list that uses the default delimiter and has three elements
11. Gets the difference between a list that uses the default delimiter and has three elements and a list with two elements
12. Gets the difference between a list that uses a custom delimiter and an empty list
13. Gets the difference between two lists populated with a single element using a custom delimiter
14. Gets the difference between a list with one element and a list populated with multiple elements that uses a custom delimiter
listFind: Determines the index of the first list element in which a specified value occurs. The search is case-sensitive.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Finds a matching element in a list that uses the default delimiter
04. Finds a matching element in a list that uses a custom delimiter
05. Fails to find a matching element in a list that uses the default delimiter because of delimiter mismatch
06. Fails to find a matching element in a list that uses a custom delimiter because of delimiter mismatch (none specified)
07. Fails to find a matching element in a list that uses a custom delimiter because of delimiter mismatch (incorrect delimiter specified)
08. Fails to find a matching element in a list that uses the default delimiter because it is not present
09. Fails to find a matching element in a list that uses a custom delimiter because it is not present
10. Fails to find a matching element in a list that uses the default delimiter because of case mismatch
11. Fails to find a matching element in a list that uses a custom delimiter because of case mismatch
listFindNoCase: Determines the index of the first list element in which a specified value occurs. The search is case-insensitive.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Finds a matching element with the same case, in a list that uses the default delimiter
04. Finds a matching element with different case, in a list that uses the default delimiter
05. Finds a matching element with the same case, in a list that uses a custom delimiter
06. Fails to find a matching element in a list that uses the default delimiter because of delimiter mismatch
07. Fails to find a matching element in a list that uses a custom delimiter because of delimiter mismatch (none specified)
08. Fails to find a matching element in a list that uses a custom delimiter because of delimiter mismatch (incorrect delimiter specified)
09. Fails to find a matching element in a list that uses the default delimiter because it is not present
10. Fails to find a matching element in a list that uses a custom delimiter because it is not present
listFirst: Gets the first element of a list.
01. Throws an error when no parameters are passed in
02. Returns the first element from a list that uses the default delimiter
03. Returns the first element from a list that uses a custom delimiter
04. Returns the whole list when the wrong delimiter is specified, from a list that uses the default delimiter
05. Returns the whole list when the wrong delimiter is specified, from a list that uses a custom delimiter
06. Returns an empty string when the list is empty, from a list that uses the default delimiter
07. Returns an empty string when the list is empty, from a list that uses a custom delimiter
listGetAt: Gets a list element at a specified position.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Returns the requested element from a list that uses the default delimiter
04. Returns the requested element from a list that uses a custom delimiter
05. Returns the whole list when the wrong delimiter is specified, from a list that uses the default delimiter
06. Returns the whole list when the wrong delimiter is specified, from a list that uses a custom delimiter
07. Returns an empty string when the list is empty, from a list that uses the default delimiter
08. Returns an empty string when the list is empty, from a list that uses a custom delimiter
09. Returns an empty string when the wrong delimiter is specified, from a list that uses the default delimiter, and the element to get is missing
10. Returns an empty string when the wrong delimiter is specified, from a list that uses a custom delimiter, and the element to get is missing
listInsertAt: Inserts an element into a list.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Throws an error when only 2 parameters are passed in
04. Returns an unchanged (empty) list when the list is empty and the insert position is more than 1 (list uses the default delimiter)
05. Returns an unchanged (empty) list when the list is empty and the insert position is more than 1 (list uses a custom delimiter)
06. Returns an unchanged list when the list has one element and the insert position is more than the list length (list uses the default delimiter)
07. Returns an unchanged list when the list has one element and the insert position is more than the list length (list uses a custom delimiter)
08. Returns an unchanged list when the list has multiple elements and the insert position is more than the list length (list uses the default delimiter)
09. Returns an unchanged list when the list has one element and the insert position is more than the list length (list uses a custom delimiter)
10. Returns an unchanged (empty) list when the list is empty and the insert position is 0 (list uses the default delimiter)
11. Returns an unchanged (empty) list when the list is empty and the insert position is 0 (list uses a custom delimiter)
12. Returns an unchanged list when the list has one element and the insert position is 0 (list uses the default delimiter
13. Returns an unchanged list when the list has one element and the insert position is 0 (list uses a custom delimiter
14. Returns an unchanged list when the list has multiple elements and the insert position is 0 (list uses the default delimiter)
15. Returns an unchanged list when the list has one element and the insert position is 0 (list uses a custom delimiter)
16. Returns a changed list when the list has one element and the insert position is 1 (list uses the default delimiter)
15. Returns a changed list when the list has one element and the insert position is 1 (list uses a custom delimiter)
16. Returns a changed list when the list has multiple elements and the insert position is less than the list length (list uses the default delimiter)
17. Returns a changed list when the list has one element and the insert position is less than the list length (list uses a custom delimiter)
18. Returns a changed list when the list has multiple elements and the insert position is equal to the list length (list uses the default delimiter)
19. Returns a changed list when the list has one element and the insert position is equal to the list length (list uses a custom delimiter)
listIntersection: Gets the elements that are common to two different lists.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Gets the intersection of two empty lists
04. Gets the intersection of a list with multiple elements that uses the default delimiter and an empty list
05. Gets the intersection of an empty list and a list with multiple elements that uses the default delimiter
06. Gets the intersection of two lists that have a single common element
07. Gets the intersection of two lists that have a single common element
08. Gets the intersection of a list with one element and a list that uses the default delimiter and has one common element
09. Gets the intersection of a list that uses the default delimiter and has one common element and a list with one element
10. Gets the intersection of a list with two elements and a list that uses the default delimiter and has two common elements
11. Gets the intersection of a list that uses the default delimiter and has two common elements and a list with two elements
12. Gets the intersection of a list that uses a custom delimiter and an empty list
13. Gets the intersection of two lists populated with a single element using a custom delimiter
14. Gets the intersection of two lists with multiple repeating common elements that use a custom delimiter
listLast: Gets the last element of a list.
01. Throws an error when no parameters are passed in
02. Returns the last element from a list that uses the default delimiter
03. Returns the last element from a list that uses a custom delimiter
04. Returns the whole list when the wrong delimiter is specified, from a list that uses the default delimiter
05. Returns the whole list when the wrong delimiter is specified, from a list that uses a custom delimiter
06. Returns an empty string when the list is empty, from a list that uses the default delimiter
07. Returns an empty string when the list is empty, from a list that uses a custom delimiter
listLen: Determines the number of elements in a list.
01. Throws an error when no parameters are passed in
02. Returns the number of elements in a list that uses the default delimiter
03. Returns the number of elements in a list that uses a custom delimiter
04. Returns the number of elements, including an empty element, in a list that uses the default delimiter
05. Returns the number of elements, including an empty element, in a list that uses the default delimiter
06. Returns the number of elements in an empty list that uses the default delimiter
07. Returns the number of elements in an empty list that uses a custom delimiter
listPrepend: Inserts an element at the beginning of a list.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Prepends an element to an empty list that uses the default delimiter
04. Prepends an element to a list that uses the default delimiter and is populated with a single element
05. Prepends an element to a list that uses the default delimiter and is populated with multiple elements
06. Prepends an element to an empty list that uses a custom delimiter
07. Prepends an element to a list that uses a custom delimiter and is populated with a single element
08. Prepends an element to a list that uses a custom delimiter and is populated with multiple elements
listQualify: Inserts a string at the beginning and end of list elements.
01. Throws an error when no parameters are passed in
02. Wraps the default qualifier round element in a single element list
03. Wraps a custom qualifier round the element in a single element list
04. Wraps the default qualifier round the elements in a multi element list
05. Wraps a custom qualifier round the elements in a multi element list
06. Returns an empty list when the input list is empty and the qualifier is left to default
07. Returns an empty list when the input list is empty and a custom qualifier is specified
listRemove: Removes elements in one list from another list. Matching is case-sensitive.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Removes the elements in one empty list from another empty list
04. Removes the elements in a list with multiple elements from an empty list
05. Removes the elements in an empty list from a list with multiple elements
06. Removes the element in a list with one element from an identical list
07. Removes the element in a list with one element from a list with no matching element
08. Removes the element in a list with one element from a list with multiple elements one of which matches
09. Removes the elements in a list with multiple matching elements from a list with fewer elements
12. Removes the elements in a list with one matching element using a custom delimiter from a list with one element
13. Removes the element in a list with one matching element from a list using a custom delimiter
14. Removes the elements in a list with one element and a list populated with multiple elements that uses a custom delimiter
listRemoveNoCase: Removes elements in one list from another list. Matching is not case-sensitive.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Removes the elements in one empty list from another empty list
04. Removes the elements in a list with multiple elements from an empty list
05. Removes the elements in an empty list from a list with multiple elements
06. Removes the element in a list with one element from an identical list
07. Removes the element in a list with one element from a list with no matching element
08. Removes the element in a list with one element from a list with multiple elements one of which matches
09. Removes the elements in a list with multiple matching elements from a list with fewer elements
12. Removes the elements in a list with one matching element using a custom delimiter from a list with one element
13. Removes the element in a list with one matching element from a list using a custom delimiter
14. Removes the elements in a list with one element and a list populated with multiple elements that uses a custom delimiter
listRemoveDuplicates: Removes duplicate elements from a list. Matching is case-sensitive.
01. Throws an error when no parameters are passed in
02. Returns an empty list when the input list is empty and default delimiter is specified
03. Returns an empty list when the input list is empty and a custom delimiter is specified
04. Returns an unchanged list when the input list has one element and default delimiter is specified
05. Returns an unchanged list when the input list has one element and a custom delimiter is specified
06. Returns an unchanged list when the input list has multiple, non-duplicate, elements and default delimiter is specified
07. Returns an unchanged list when the input list has multiple, non-duplicate, elements and a custom delimiter is specified
08. Returns a changed list when the input list has multiple elements with duplicates and default delimiter is specified
09. Returns an unchanged list when the input list has multiple elements with duplicates and a custom delimiter is specified
10. Returns a changed list when the input list has multiple elements with many duplicates and default delimiter is specified
11. Returns a changed list when the input list has multiple elements with many duplicates and a custom delimiter is specified
12. Returns an unchanged list when the input list has multiple elements with duplicates different only by case and default delimiter is specified
13. Returns an unchanged list when the input list has multiple elements with duplicates different only by case and a custom delimiter is specified
14. Returns an unchanged list when the input list has elements with duplicates but multiple delimiters exist. The default delimiter is specified
15. Returns an unchanged list when the input list has elements with duplicates but multiple delimiters exist. A custom delimiter is specified
listRemoveDuplicatesNoCase: Removes duplicate elements from a list. Matching is not case-sensitive.
01. Throws an error when no parameters are passed in
02. Returns an empty list when the input list is empty and default delimiter is specified
03. Returns an empty list when the input list is empty and a custom delimiter is specified
04. Returns an unchanged list when the input list has one element and default delimiter is specified
05. Returns an unchanged list when the input list has one element and a custom delimiter is specified
06. Returns an unchanged list when the input list has multiple, non-duplicate, elements and default delimiter is specified
07. Returns an unchanged list when the input list has multiple, non-duplicate, elements and a custom delimiter is specified
08. Returns a changed list when the input list has multiple elements with duplicates and default delimiter is specified
09. Returns a changed list when the input list has multiple elements with duplicates and a custom delimiter is specified
10. Returns a changed list when the input list has multiple elements with many duplicates and default delimiter is specified
11. Returns a changed list when the input list has multiple elements with many duplicates and a custom delimiter is specified
12. Returns a changed list when the input list has multiple elements with duplicates including by case and default delimiter is specified
13. Returns a changed list when the input list has multiple elements with duplicates including by case and a custom delimiter is specified
14. Returns an unchanged list when the input list has elements with duplicates but multiple delimiters exist. The default delimiter is specified
15. Returns an unchanged list when the input list has elements with duplicates but multiple delimiters exist. A custom delimiter is specified
listReplace: Replaces instances of one element in a list with another element. Matching is case-sensitive.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Throws an error when only 2 parameters are passed in
04. Replaces an empty element in an empty list with another empty element
05. Replaces an empty element in an empty list with a non-empty element
06. Replaces a non-empty element in a single-element list with an empty element
07. Replaces a non-empty element in a single-element list with a different non-empty element
08. Replaces a non-empty element in a multiple-element list with a different non-empty element
09. Replaces non-empty elements in a multiple-element list with a different non-empty element
10. Replaces nothing in a list with one element
11. Replaces nothing in a list with multiple elements
12. Replaces one element in a list with a custom delimiter
13. Replaces nothing in a list with a custom delimiter
14. Replaces an empty element in a list with a non-empty element
15. Replaces a non-empty element in a list with an empty element
listReplaceNoCase: Replaces instances of one element in a list with another element. Matching is case-sensitive.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Throws an error when only 2 parameters are passed in
04. Replaces an empty element in an empty list with another empty element
05. Replaces an empty element in an empty list with a non-empty element
06. Replaces a non-empty element in a single-element list with an empty element
07. Replaces a non-empty element in a single-element list with a different non-empty element
08. Replaces a non-empty element in a multiple-element list with a different non-empty element
09. Replaces non-empty elements in a multiple-element list with a different non-empty element
10. Replaces nothing in a list with one element
11. Replaces nothing in a list with multiple elements
12. Replaces one element in a list with a custom delimiter
13. Replaces an empty element in a list with a non-empty element
14. Replaces a non-empty element in a list with an empty element
listRest: Gets a list, without its first element.
01. Throws an error when no parameters are passed in
02. Returns all but the first element from a list that uses the default delimiter
03. Returns all but the first element from a list that uses a custom delimiter
04. Returns an empty list when the wrong delimiter is specified, from a list that uses the default delimiter
05. Returns and empty list when the wrong delimiter is specified, from a list that uses a custom delimiter
06. Returns an empty list when the list is empty, from a list that uses the default delimiter
07. Returns an empty list when the list is empty, from a list that uses a custom delimiter
listReverse: Reverses the order of elements in a list.
01. Throws an error when no parameters are passed in
02. Returns an empty string when the list is empty, from a list that uses the default delimiter
03. Returns an empty string when the list is empty, from a list that uses a custom delimiter
04. Returns an unchanged list when the list has one element and uses the default delimiter
05. Returns an unchanged list when the list has one element and uses uses a custom delimiter
06. Returns an reversed list when the list has multiple elements and uses the default delimiter
07. Returns a reversed list when the list has one element and uses uses a custom delimiter
08. Returns an unchanged list when the list has multiple elements but the delimiter supplied (default) is wrong
09. Returns an unchanged list when the list has multiple elements but the delimiter supplied (custom) is wrong
listSetAt: Replaces the contents of a list element.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Throws an error when only 2 parameters are passed in
04. Returns an updated list when the list contains one element, using the default delimiter
05. Returns an updated list when the list contains one element, using a custom delimiter
06. Returns an updated list when the list contains multiple elements, using the default delimiter
07. Returns an updated list when the list contains multiple elements, using a custom delimiter
08. Replaces a one element list when the list contains multiple elements and the wrong delimiter is specified
09. Returns an unchanged (empty) list when the list is empty and the set position is 0 (list uses the default delimiter)
10. Returns an unchanged (empty) list when the list is empty and the set position is 0 (list uses a custom delimiter)
11. Returns an unchanged list when the list contains one element and the set position is 0 (list uses the default delimiter)
12. Returns an unchanged (empty) list when the list contains one element and the set position is 0 (list uses a custom delimiter)
13. Returns an unchanged list when the list contains muliple elements and the set position is 0 (list uses the default delimiter)
14. Returns an unchanged (empty) list when the list contains multiple elements and the set position is 0 (list uses a custom delimiter)
15. Returns an unchanged (empty) list when the list is empty and the set position is 1 (list uses the default delimiter)
16. Returns an unchanged (empty) list when the list is empty and the set position is 1 (list uses a custom delimiter)
17. Returns an unchanged list when the list contains one element and the set position is greater than 1 (list uses the default delimiter)
18. Returns an unchanged list when the list contains one element and the set position is greater than 1 (list uses a custom delimiter)
19. Returns an unchanged list when the list contains muliple elements and the set position is greater than the list length (list uses the default delimiter)
20. Returns an unchanged list when the list contains multiple elements and the set position is greater than the list length (list uses a custom delimiter)
listSort: Sorts list elements according to a sort type and sort order.
01. Throws an error when no parameters are passed in
02. Returns an empty string when the list is empty and the default delimiter is used
03. Returns an empty string when the list is empty and a custom delimiter is used
04. Returns an updated list when the list contains one element, using the default delimiter
05. Returns an updated list when the list contains one element, using a custom delimiter
06. Returns an updated, sorted list when the list contains multiple alpha elements, using the default delimiter. Sorted ascending.
07. Returns an updated, sorted list when the list contains multiple alpha elements, using the default delimiter. Sorted descending.
08. Returns an updated, sorted list when the list contains multiple alpha elements, using a custom delimiter. Sorted ascending.
09. Returns an updated, sorted list when the list contains multiple alpha elements, using a custom delimiter. Sorted descending.
10. Returns an updated, sorted list when the list contains multiple mixed-case, alpha elements, using the default delimiter. Sorted ascending.
11. Returns an updated, sorted list when the list contains multiple mixed-case, alpha elements, using the default delimiter. Sorted descending.
12. Returns an updated, sorted list when the list contains multiple mixed-case, alpha elements, using a custom delimiter. Sorted ascending.
13. Returns an updated, sorted list when the list contains multiple mixed-case, alpha elements, using a custom delimiter. Sorted descending.
14. Returns an updated, sorted list when the list contains multiple numeric elements, using the default delimiter. Sorted ascending.
15. Returns an updated, sorted list when the list contains multiple numeric elements, using the default delimiter. Sorted descending.
16. Returns an updated, sorted list when the list contains multiple numeric elements, using a custom delimiter. Sorted ascending.
17. Returns an updated, sorted list when the list contains multiple numeric elements, using a custom delimiter. Sorted descending.
18. Returns an updated, "mis-sorted" list when the list contains multiple numeric elements, sorted alphabetically, using the default delimiter. Sorted ascending.
19. Returns an updated, "mis-sorted" list when the list contains multiple numeric elements, sorted alphabetically, using the default delimiter. Sorted descending.
20. Returns an updated, "mis-sorted" list when the list contains multiple numeric elements, sorted alphabetically, using a custom delimiter. Sorted ascending.
21. Returns an updated, "mis-sorted" list when the list contains multiple numeric elements, sorted alphabetically, using a custom delimiter. Sorted descending.
listUnion: Combines the elements from two different lists.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Gets the union of two empty lists
04. Gets the union of a list with multiple elements that uses the default delimiter and an empty list
05. Gets the union of an empty list and a list with multiple elements that uses the default delimiter
06. Gets the union of two lists that have a single common element
07. Gets the union of two lists that have a single unique element
08. Gets the union of a list with one common element and a list that uses the default delimiter and has multiple elements
09. Gets the union of a list that uses the default delimiter and has multiple elements and a list with one common element
10. Gets the union of a list with two elements and a list that uses the default delimiter and has two common elements
11. Gets the union of a list that uses the default delimiter and has two common elements and a list with two elements
12. Gets the union of a list that uses a custom delimiter and an empty list
13. Gets the union of two lists populated with a single element using a custom delimiter
14. Gets the union of two lists with multiple repeating common elements that use a custom delimiter
listValueCount: Counts the instances of a specified value in a list. The search is case-sensitive.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Returns 0 when the list is empty and the default delimiter is used
04. Returns 0 when the list is empty and a custom delimiter is used
05. Returns the count when the list has one (matching) element and the default delimiter is used
06. Returns the count when the list has one (matching) element and a custom delimiter is used
07. Returns the count when the list has multiple elements (one matching) and the default delimiter is used
08. Returns the count when the list has multiple elements (one matching) and a custom delimiter is used
09. Returns the count when the list has multiple elements (multiple matching) and the default delimiter is used
10. Returns the count when the list has multiple elements (multiple matching) and a custom delimiter is used
11. Returns 0 when the list has "matching" elements but with different case and the default delimiter is used
12. Returns 0 when the list has "matching" elements but with different case and a custom delimiter is used
listValueCountNoCase: Counts the instances of a specified value in a list. The search is not case-sensitive.
01. Throws an error when no parameters are passed in
02. Throws an error when only 1 parameter is passed in
03. Returns 0 when the list is empty and the default delimiter is used
04. Returns 0 when the list is empty and a custom delimiter is used
05. Returns the count when the list has one (matching) element and the default delimiter is used
06. Returns the count when the list has one (matching) element and a custom delimiter is used
07. Returns the count when the list has multiple elements (one matching) and the default delimiter is used
08. Returns the count when the list has multiple elements (one matching) and a custom delimiter is used
09. Returns the count when the list has multiple elements (multiple matching) and the default delimiter is used
10. Returns the count when the list has multiple elements (multiple matching) and a custom delimiter is used
11. Returns the count when the list has matching elements but with different case and the default delimiter is used
12. Returns the count when the list has matching elements but with different case and a custom delimiter is used