GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Sets a value on an object through a dotted property path. Creates intermediate objects as needed.

      Type Parameters

      • T extends Record<string, unknown>

      Parameters

      • obj: T

        Target object

      • path: string

        Path to the property

      • value: unknown

        Value to assign

      Returns T

      The modified object

      Path segments naming a prototype key are refused (no-op write).