isPlaceholder()
Home > @gooddata/sdk-ui > isPlaceholder
isPlaceholder() function
Type-guard testing whether the provided object is an instance of IPlaceholder.
Signature:
export declare function isPlaceholder<T>(obj: unknown): obj is IPlaceholder<T>;
Parameters
Parameter |
Type |
Description |
---|---|---|
obj |
unknown |
Returns:
obj is IPlaceholder<T>