MCPcopy
hub / github.com/mickhansen/graphql-sequelize / checkIsModel

Function checkIsModel

src/resolver.js:22–24  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

20}
21
22function checkIsModel(target) {
23 return !!target.getTableName;
24}
25
26function checkIsAssociation(target) {
27 return !!target.associationType;

Callers 1

resolverFactoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected