Function: doesFragmentConditionMatch()
doesFragmentConditionMatch(
schema,fragment,type):boolean
Defined in: packages/utils/src/collectFields.ts:197
Determines if a fragment is applicable to the given type.
Parameters
schema
GraphQLSchema
fragment
FragmentDefinitionNode | InlineFragmentNode
type
GraphQLObjectType
Returns
boolean