MCPcopy Create free account
hub / github.com/docker/getting-started / canAcceptRef

Function canAcceptRef

app/src/static/js/react-bootstrap.js:5644–5646  ·  view source on GitHub ↗

* Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory.

(component)

Source from the content-addressed store, hash-verified

5642
5643
5644function canAcceptRef(component) {
5645 return !!component && (typeof component !== 'function' || component.prototype && component.prototype.isReactComponent);
5646}
5647
5648/***/ }),
5649/* 40 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…