# IsPicker()

> Indicates if the search view is being used as an advanced search picker.

## Definition

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

```csharp
bool IsPicker()
```

### Returns

| Type                                                          | Description                                          |
| ------------------------------------------------------------- | ---------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the current view is a search window. |

### Remarks

See [SearchService.ShowPicker](/engine/6000.7/script-reference/unityeditor/search/searchservice/showpicker.md).
