IsKeyword(SearchExpressionKeyword)
Check if the SearchExpression.innerText of an expression is a builtin SearchExpressionKeyword.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public bool IsKeyword(SearchExpressionKeyword keyword)
Parameters
Builtin keyword to check the expression against.
Returns
Type | Description |
|---|---|
| bool | Returns if the expression is a builtin Search Expression keyword. |