@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: SyntheticViewTemplate<TSource, TParent>): template is HydratableSyntheticViewTemplate<TSource, TParent>;

Parameters

Parameter

Type

Description

template

SyntheticViewTemplate<TSource, TParent>

Returns:

template is HydratableSyntheticViewTemplate<TSource, TParent>