graph LR
Collection_Transformation["Collection Transformation"]
Array_Uniqueness["Array Uniqueness"]
Object_Merging_Entry_Point["Object Merging Entry Point"]
Safe_Object_Property_Access["Safe Object Property Access"]
Base_Object_Cloning["Base Object Cloning"]
Iteration_Abstraction_Helper["Iteration Abstraction Helper"]
Low_Level_Property_Retrieval["Low-Level Property Retrieval"]
Internal_Object_Merging_Engine["Internal Object Merging Engine"]
Object_Merging_Entry_Point -- "delegates to" --> Internal_Object_Merging_Engine
Safe_Object_Property_Access -- "relies on" --> Low_Level_Property_Retrieval
Collection_Transformation -- "uses" --> Iteration_Abstraction_Helper
The Core Data Manipulation subsystem in pydash is responsible for providing a robust set of utilities for transforming, filtering, grouping, and managing various data structures like collections, arrays, and objects. It embodies the project's functional programming and modular design principles.
The primary function for applying a transformation function to each element of a collection (list, dictionary, set, etc.) and returning a new collection with the results. It serves as a high-level facade for collection mapping.
Related Classes/Methods:
Implements the core logic for filtering out duplicate values from an array based on a custom iteratee function, ensuring that only unique elements (as determined by the iteratee) are retained.
Related Classes/Methods:
Provides a customizable entry point for deeply merging properties from one or more source objects into a destination object. It allows for a customizer function to define how values are merged when conflicts occur.
Related Classes/Methods:
Safely retrieves a value from a nested path within an object or array. It prevents errors by providing a default value if the path does not exist, making data retrieval robust.
Related Classes/Methods:
A foundational method for creating copies of objects and arrays. It supports both shallow and deep cloning, serving as a primitive for immutable data operations within the library.
Related Classes/Methods:
Abstracts the application of iteratee functions across various data structures. This helper standardizes how functions are applied during iteration, promoting code reuse and consistency in collection and array operations.
Related Classes/Methods:
A low-level helper function that provides the core mechanism for robustly retrieving values from nested data structures (objects and arrays) given a path. It is a fundamental building block for higher-level property access functions.
Related Classes/Methods:
The recursive engine that drives the deep merging process for objects. It handles the traversal of nested structures and applies the merging logic, often invoked by merge_with.
Related Classes/Methods: