# same_view_model

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui-controls/function-same_view_model/

**function** · [`ferroui-reactiveui-controls`](/docs/0.5.0/api/ferroui-reactiveui-controls/) · v0.5.0

```rust
fn same_view_model(first: Option<&ferroui_base::BoxedValue>, second: Option<&ferroui_base::BoxedValue>) -> bool
```

Whether two values of properties hold the same view model (`ReferenceEquals` of the objects):
both null, or the same object behind any of their forms.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI.Controls/view_model_value.rs#L104)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
