Eval
Implement this function to evaluate the query on a payload.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
Eval(T)
Implement this function to evaluate the query on a payload.
IEnumerable<TData> Eval(TPayload payload)
Parameters
Returns
Type | Description |
|---|---|
| IEnumerable<T> | An enumerable of type TData. |
Eval(T)
Implement this function to evaluate the query on a single element.
bool Eval(TData element)
Parameters
Returns
Type | Description |
|---|---|
| bool | True if the object passes the query, false otherwise. |