- isFragmentReady<TQuery, TFrag>(queryNode, fragmentNode, data): data is [TFrag] extends [{
$fragmentName?: TKey;
}]
? TKey extends string
? {
$fragmentRefs?: {
[key in string]: TFrag
};
}
: never
: never Parameters
data: undefined | null | ([Incremental<TFrag>] extends [{
$fragmentName?: TKey;
}]
? TKey extends string
? {
$fragmentRefs?: {
[key in string]: {
$fragmentName?: TKey;
} & Incremental<TFrag>
};
}
: never
: never)
Returns data is [TFrag] extends [{
$fragmentName?: TKey;
}]
? TKey extends string
? {
$fragmentRefs?: {
[key in string]: TFrag
};
}
: never
: never