## Nullable::NullableBoolHelper method


دالة مساعدة للتحقق مما إذا كان هذا و **other** كلاهما غير فارغين واستدعاء دالة لامبدا إذا كان الأمر كذلك. تُستخدم في implementation.s.

```cpp
template<typename T1> bool System::Nullable<T>::NullableBoolHelper(const T1 &other, const std::function<bool()> &f, bool default_if_both_are_null=false) const
```


| Parameter | الوصف |
| --- | --- |
| T1 | نوع قابل للإلغاء آخر. |

| Parameter | Type | الوصف |
| --- | --- | --- |
| آخر | const T1\& | قيمة قابلة للإلغاء أخرى للمقارنة معها. |
| f | const std::function\<bool()>\& | دالة لامبدا للاستدعاء إذا كان كل من **this** و **other** غير فارغين. |
| default_if_both_are_null | bool | القيمة المرجعة إذا كانت كلتا القيمتين فارغتين. |

### ReturnValue

false إذا كان أي من **this** أو **other** فارغًا؛ **default_if_both_are_null** إذا كان كلاهما فارغًا؛ نتيجة استدعاء **f** إذا كان كلاهما غير فارغ.

## انظر أيضًا

* Class [Nullable](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
