graphql-compose
Version:
GraphQL schema builder from different data sources with middleware extensions.
19 lines • 541 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isString = isString;
exports.isObject = isObject;
exports.isFunction = isFunction;
function isString(value) {
return typeof value === 'string';
}
function isObject(value) {
return typeof value === 'object' && !Array.isArray(value) && value !== null;
}
function isFunction(value) {
return !!(value &&
value.constructor &&
value.call &&
typeof value === 'function' &&
value.apply);
}
//# sourceMappingURL=is.js.map