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

Function isTrivialHref

app/src/static/js/react-bootstrap.js:9980–9982  ·  view source on GitHub ↗
(href)

Source from the content-addressed store, hash-verified

9978};
9979
9980function isTrivialHref(href) {
9981 return !href || href.trim() === '#';
9982}
9983/**
9984 * There are situations due to browser quirks or Bootstrap CSS where
9985 * an anchor tag is needed, when semantically a button tag is the

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…