@dxos/echo
    Preparing search index...

    Function updateFrom

    • For each key present on source (except id), assigns target[key] when the current value differs. References are compared by target DXN; other values use Effect Equal.equals inside a structural region, with recursive comparison for arrays and plain object-shaped property bags (excluding id).

      Must be called within an Obj.update callback.

      Type Parameters

      Parameters

      • target: Mutable<T>
      • source: T
      • Optionaloptions: UpdateFromOptions<T>

      Returns boolean

      Whether any property was updated.

      O(n) in source size; deep-compares every selected property and assigns only the changed ones.