UNPKG

598 BJavaScriptView Raw
1'use strict';
2
3Object.defineProperty(exports, '__esModule', {
4 value: true
5});
6exports.default = getProjectDisplayName;
7
8/**
9 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
10 *
11 * This source code is licensed under the MIT license found in the
12 * LICENSE file in the root directory of this source tree.
13 */
14function getProjectDisplayName(projectConfig) {
15 var _projectConfig$displa;
16
17 return (
18 ((_projectConfig$displa = projectConfig.displayName) === null ||
19 _projectConfig$displa === void 0
20 ? void 0
21 : _projectConfig$displa.name) || undefined
22 );
23}