MCPcopy
hub / github.com/orestbida/cookieconsent / getDocumentLanguageCode

Function getDocumentLanguageCode

src/utils/language.js:67–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 * @returns lang attribute
66 */
67export const getDocumentLanguageCode = () => document.documentElement.lang;
68
69/**
70 * Resolve the language to use.

Callers 2

language.test.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…