UNPKG

@apollo/client

Version:

A fully-featured caching GraphQL client.

13 lines (12 loc) 433 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isErrorLike = isErrorLike; function isErrorLike(error) { return (error !== null && typeof error === "object" && typeof error.message === "string" && typeof error.name === "string" && (typeof error.stack === "string" || typeof error.stack === "undefined")); } //# sourceMappingURL=isErrorLike.cjs.map