IsTrue(SearchItem)
Check if the internal value of a SearchItem is truish. It means the value is not 0, not null, not "" and not false.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public static bool IsTrue(SearchItem item)
Parameters
SearchItem to test.
Returns
Type | Description |
|---|---|
| bool | Returns true if the value of the SearchItem is truish. |