MCPcopy Index your code
hub / github.com/github/docs / getMetaContent

Function getMetaContent

components/lib/events.ts:95–98  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

93}
94
95function getMetaContent(name: string) {
96 const metaTag = document.querySelector(`meta[name="${name}"]`) as HTMLMetaElement
97 return metaTag?.content
98}
99
100export function sendEvent({ type, version = '1.0.0', ...props }: SendEventProps) {
101 const body = {

Callers 1

sendEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected