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

Function makeEmptyFunction

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

* Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * *

(arg)

Source from the content-addressed store, hash-verified

8716 */
8717
8718function makeEmptyFunction(arg) {
8719 return function () {
8720 return arg;
8721 };
8722}
8723/**
8724 * This function accepts and discards inputs; it has no side effects. This is
8725 * primarily useful idiomatically for overridable function endpoints which

Callers 1

react-bootstrap.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…