UNPKG

graphql

Version:

A Query Language and Runtime which can target any service.

11 lines 331 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isPromise = isPromise; exports.isPromiseLike = isPromiseLike; function isPromise(value) { return value instanceof Promise; } function isPromiseLike(value) { return typeof value?.then === 'function'; } //# sourceMappingURL=isPromise.js.map