@microsoft/fast-element > isHydratable
isHydratable() function
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature:
export declare function isHydratable<TSource = any, TParent = any>(template: ElementViewTemplate<TSource, TParent>): template is HydratableElementViewTemplate<TSource, TParent>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
template |
ElementViewTemplate<TSource, TParent> |
Returns:
template is HydratableElementViewTemplate<TSource, TParent>