Const The string array to be cleaned.
undefined if the given array was undefined, the cleaned up array otherwise.
Strips the given string array of any blank values (either null, undefined of empty string).
Optional array: (undefined | null | string)[]The string array to be cleaned.
undefined if the given array was undefined, the cleaned up array otherwise.
Creates an array of the given length composed of a suite of numbers from offset to offset + (length * step).
The length of the array to be created.
The starting offset of the suite to be created. 1 is set by default.
the suite array from offset to offset + (length * step).
Creates an array of the given length composed of a suite of numbers from offset to offset + (length * step).
The length of the array to be created.
The starting offset of the suite to be created. 1 is set by default.
the suite array from offset to offset + (length * step).
Extracts the first element from the given array.
The array to extract the first element from.
the first element.
Extracts the first element from the given array as an optional.
The array to extract the first element from.
the first element as an optional.
Extracts the last element from the given array.
The array to extract the last element from.
the last element.
Extracts the last element from the given array as an optional.
The array to extract the last element from.
the last element as an optional.
Tests if all elements of the given array match the predicate.
The array to test
The predicate used to test each element of the given array
true if all of the elements match the given predicate, false otherwise.
Tests if all elements of the given array match the predicate.
true if all of the elements match the given predicate, false otherwise.
Tests if exactly one element of the given array matches the predicate.
The array to test
The predicate used to test each element of the given array
true if one element only matches the given predicate, false otherwise.
Tests if exactly one element of the given array matches the predicate.
true if one element only matches the given predicate, false otherwise.
Tests if at least one element of the given array matches the predicate.
The array to test
The predicate used to test each element of the given array
true if at leat one element matches the given predicate, false otherwise.
Tests if at least one element of the given array matches the predicate.
true if at leat one element matches the given predicate, false otherwise.
Tests whether the given arrays are exactly the same in length and content.
If no predicate is given to compare the elements of the arrays, === will be used.
The first array to test
The second array to test
The predicate used to compare each element of the given arrays.
true if both arrays are equal, false otherwise.
Tests whether the given arrays are exactly the same in length and content.
If no predicate is given to compare the elements of the arrays, === will be used.
true if both arrays are equal, false otherwise.
Shuffles the elements of the given array to a random order.
The array to shuffle.
An array with every elements of the given array but in a random order.
Strips the given array of duplicate values.
The array with potential duplicates.
An array where of elements are uniq.
Strips the given array of duplicate property values.
The array with potential duplicates.
The property to extract for the comparaison.
The predicate used to compare each element of the given arrays.
An array where of elements are uniq.
Generated using TypeDoc
Strips the given string array of any blank values (either
null,undefinedof empty string).