isInsightLayerDefinition()
Home > @gooddata/sdk-model > isInsightLayerDefinition
isInsightLayerDefinition() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Type guard to check if an object is IInsightLayerDefinition
Signature:
export declare function isInsightLayerDefinition(obj: unknown): obj is IInsightLayerDefinition;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
unknown |
object to check |
Returns:
obj is IInsightLayerDefinition
true if the object is an IInsightLayerDefinition