@std/collections@0.215.0
- @std/collections
deep_merge
- all symbols
- default
- aggregate_groups
- associate_by
- associate_with
- chunk
- deep_merge
- distinct
- distinct_by
- drop_last_while
- drop_while
- filter_entries
- filter_keys
- filter_values
- find_single
- first_not_nullish_of
- includes_value
- intersect
- join_to_string
- map_entries
- map_keys
- map_not_nullish
- map_values
- max_by
- max_of
- max_with
- min_by
- min_of
- min_with
- partition
- partition_entries
- permutations
- reduce_groups
- running_reduce
- sample
- sliding_windows
- sort_by
- sum_of
- take_last_while
- take_while
- union
- unzip
- without_all
- zip
Functions
Merges the two given Records, recursively merging any nested Records with the second collection overriding the first in case of conflict
Type Aliases
Get array values type
Merge deeply two objects
Deep merge options
Force intellisense to expand the typing to hide merging typings
Get map values types
Get map values types
& MergeAllRecords<T, U, Options>
& (Options extends { sets: "replace"; } ? PartialByType<U, Set<unknown>> : MergeAllSets<T, U>)
& (Options extends { arrays: "replace"; } ? PartialByType<U, Array<unknown>> : MergeAllArrays<T, U>)
& (Options extends { maps: "replace"; } ? PartialByType<U, Map<unknown, unknown>> : MergeAllMaps<T, U>)
Merge two objects
Merge all sets types definitions from keys present in both objects
Merge all sets types definitions from keys present in both objects
Merge all records types definitions from keys present in both objects
Merge all sets types definitions from keys present in both objects
Merge two objects, with left precedence
Merging strategy
Object with keys in either T or U but not in both
| Set<unknown>
| Array<unknown>
| Record<PropertyKey, unknown>
Exclude map, sets and array from type
Filter of keys matching a given type
Get set values type