summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/jsutils/nodejsCustomInspectSymbol.js.flow
blob: 114489cd972dcecf5b7d2b118e7c692c449aa762 (plain)
1
2
3
4
5
6
7
8
// @flow strict
// istanbul ignore next (See: 'https://github.com/graphql/graphql-js/issues/2317')
const nodejsCustomInspectSymbol =
  typeof Symbol === 'function' && typeof Symbol.for === 'function'
    ? Symbol.for('nodejs.util.inspect.custom')
    : undefined;

export default nodejsCustomInspectSymbol;