# Function: isSQLTypeMarker()

```ts
function isSQLTypeMarker(value: any): value is SQLTypeMarker;

```

Type guard to check if a value is a SQL type marker

## Parameters[​](#parameters "Direct link to Parameters")

| Parameter | Type  | Description    |
| --------- | ----- | -------------- |
| `value`   | `any` | Value to check |

## Returns[​](#returns "Direct link to Returns")

`value is SQLTypeMarker`

True if the value is a SQL type marker, false otherwise

## Example[​](#example "Direct link to Example")

```typescript
const value = {
  __sql_type: "DATE",
  value: "2024-01-01",
};
const isSQLTypeMarker = isSQLTypeMarker(value);
console.log(isSQLTypeMarker); // true

```
