There’s no such operator in rescript. You can build a runtime helper for this using proxy:
await orderSnapshot->update_field(o => o.isProcessed, true)
Where o is a proxy used to track which field is accessed. Also, this way, you can infer the value type.