## invalidSearchOperator() function

**Signature:**

```typescript
export declare function invalidSearchOperator(operator: Operator, searchParameterCodeOrId: string): OperationOutcome;
```

## Parameters

| Parameter                      | Type                                   | Description | 
| ------------------------------- | -------------------------------------- | ----------- |
| operator                       | [Operator](/content/docs/sdk/core.operator) |             | 
| searchParameterCodeOrId       | string                                |             |

**Returns:**

OperationOutcome

- [invalidSearchOperator() function](/content/docs/sdk/core.invalidsearchoperator#invalidsearchoperator-function/index.html)  
- [Parameters](/content/docs/sdk/core.invalidsearchoperator#parameters/index.html)
