Contents

merge(other:)

Merge another object of this type into this object.

Declaration

@discardableResult mutating func merge(other: AssignableDocument) throws -> Bool

Parameters

  • other:

    The other object to merge into this one.

Discussion

An exception is thrown if other is not a replica of this document.

See Also

Merging the parts