Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 604 Bytes

search-ui-react.isctadata.md

File metadata and controls

26 lines (15 loc) · 604 Bytes

Home > @yext/search-ui-react > isCtaData

isCtaData() function

Type guard for CtaData.

Signature:

export declare function isCtaData(data: unknown): data is CtaData;

Parameters

Parameter Type Description
data unknown the data to validate.

Returns:

data is CtaData

whether the data is of type CtaData.