MCPcopy
hub / github.com/nfl/react-helmet / flattenArray

Function flattenArray

src/HelmetUtils.js:366–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364};
365
366const flattenArray = possibleArray => {
367 return Array.isArray(possibleArray)
368 ? possibleArray.join("")
369 : possibleArray;
370};
371
372const updateTitle = (title, attributes) => {
373 if (typeof title !== "undefined" && document.title !== title) {

Callers 2

updateTitleFunction · 0.85
generateTitleAsStringFunction · 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…