# IsKeyword(SearchExpressionKeyword)

> Check if the SearchExpression.innerText of an expression is a builtin SearchExpressionKeyword.

## Definition

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

```csharp
public bool IsKeyword(SearchExpressionKeyword keyword)
```

### Parameters

**** (\[SearchExpressionKeyword]\(/engine/6000.5/script-reference/unityeditor/search/searchexpressionkeyword)): Builtin keyword to check the expression against.

### Returns

| Type                                                          | Description                                                       |
| ------------------------------------------------------------- | ----------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns if the expression is a builtin Search Expression keyword. |
