> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# isInsightLayerDefinition()

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: function
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/insight/index.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Type guard to check if an object is IInsightLayerDefinition

**Signature:**

```typescript
export declare function isInsightLayerDefinition(obj: unknown): obj is IInsightLayerDefinition;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| obj | unknown | object to check |

**Returns:**

obj is [IInsightLayerDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iinsightlayerdefinition/index.md)

true if the object is an IInsightLayerDefinition
