UNPKG

@nestjs/graphql

Version:

GraphQL for NestJS: code-first and schema-first APIs, resolvers as providers, subscriptions, federation and generated SDL, on Apollo or Mercurius.

13 lines • 277 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isThrowing = isThrowing; function isThrowing(func) { try { func(); return false; } catch { return true; } } //# sourceMappingURL=is-throwing.util.js.map