# trim Source: https://www.nianticspatial.com/docs/api/swift/NSDK.Nsdk_Vps_MapNodeUpdate.method-trim/ trim --- ## Declaration @discardableResult mutating func trim(keeping fieldMask: Google_Protobuf_FieldMask) -> Bool #### Summary Removes from 'message' any field that is not represented in the given FieldMask. If the FieldMask is empty, does nothing. #### Returns Boolean determines if the message is modified ### Parameters | Name | Type | Summary | | --- | --- | --- | | fieldMask | Google_Protobuf_FieldMask | - | ---