Home > @yext/search-ui-react > isCtaData
Type guard for CtaData.
Signature:
export declare function isCtaData(data: unknown): data is CtaData;
Parameter | Type | Description |
---|---|---|
data | unknown | the data to validate. |
Returns:
data is CtaData
whether the data is of type CtaData.