Check(SearchExpression, SearchExpressionContext)
Execute a SearchExpression and checks if the internal value of the first yielded SearchItem is truish. Not 0, not null, not "" and not false.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public static bool Check(SearchExpression e, SearchExpressionContext c)
Parameters
SearchExpression to test.
Execute context of the expression.
Returns
Type | Description |
|---|---|
| bool | Returns true if the SearchExpression yields more than one item or if the sole item is true. |