Const Converts an index signature' keys and values converted by applying the given mapping function into an array.
The index signature to convert.
The mapper function.
an array corresponding to all entries of the given index signature using the given mapper function.
Filters out all entries from the given index signature that doesn't match the given predicate.
The index signture to filter.
Predicate to filter the entries.
an index signature containing only the element that match the given predicate.
Creates an index signature from the given array.
The array to convert.
A function to extract the id from each array elements.
the created index signature.
Creates an index signature from the given array with every elements mapped using the given valueExtractor.
The array to convert.
A function to extract the id from each array elements.
A mapper function to convert each element of the array from T to U.
the created index signature.
Creates an index signature from the given array with every elements mapped using the given valueExtractor.
the created index signature.
Groups all elements of the given array by the key extracted using the given indexExtractor.
The array to convert.
The extractor function to extract a key from each element.
an index signature with arrays of values grouped by keys.
Apply the given mapping function to every elements and groups all elements of the given array by the key extracted using the given indexExtractor
The array to convert.
The extractor function to extract a key from each element.
The mapper function.
an index signature with arrays of converted values grouped by keys.
Apply the given mapping function to every elements and groups all elements of the given array by the key extracted using the given indexExtractor
an index signature with arrays of converted values grouped by keys.
Tests whether the given index signature is included into the given array of index signatures.
The index signature to compare.
An array of index signatures to test against the first parameter.
true if the given index signatures is included into the array, false otherwise.
Tests whether the given index signature is included into the given array of index signatures.
true if the given index signatures is included into the array, false otherwise.
Converts an index signature's keys into an array.
The index signature to convert.
an array of all keys of the given index signature.
Converts an index signature's keys into an array.
an array of all keys of the given index signature.
Apply the provided mapping function to all values of the given index signature, and extract all values into an array.
The index signature to map.
The mapper function.
(optional) A filter predicate used to filter out unwanted values.
the result array of mapped values.
Apply the provided mapping function to all values of the given index signature, and extract all values into an array.
The index signature to map.
The mapper function.
Optional filter: ((key, element) => boolean)(optional) A filter predicate used to filter out unwanted values.
the result array of mapped values.
Apply the provided mapping function to all values of the given index signature, and extract all values into an array.
The index signature to map.
The mapper function.
(optional) A filter predicate used to filter out unwanted values.
the result array of mapped values.
Apply the provided mapping function to all values of the given index signature, and extract all values into an array.
the result array of mapped values.
Tests whether the two given index signatures are equals.
The first index signature to compare.
The second index signature to compare.
true if the index signatures are equal, false otherwise.
Tests whether the two given index signatures are equals.
true if the index signatures are equal, false otherwise.
Converts an index signature's values into an array.
The index signature to convert.
an array of all values of the given index signature.
Converts the given index signature into a string formated as follow:
{ key1: value1, key2: value2, key3: value3, ...}
The index signature to convert.
a string representation of the given index signature.
Converts the given index signature into a string formated as follow:
{ key1: value1, key2: value2, key3: value3, ...}
a string representation of the given index signature.
Generated using TypeDoc
Index signatures helper methods.