# Apply(TPayload)

> Applies the filtering on a payload.

## Definition

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

## Apply(T)

```csharp
public virtual IEnumerable<TData> Apply(TPayload payload = null)
```

### Parameters

**** (T): The data to filter.

### Returns

| Type                                                                                               | Description             |
| -------------------------------------------------------------------------------------------------- | ----------------------- |
| [IEnumerable\<T>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1) | A filtered IEnumerable. |
