# 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.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.7/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public static bool IsTrue(SearchItem item)
```

### Parameters

**** (\[SearchItem]\(/engine/6000.7/script-reference/unityeditor/search/searchitem)): SearchItem to test.

### Returns

| Type                                                          | Description                                            |
| ------------------------------------------------------------- | ------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the value of the SearchItem is truish. |
