MCPcopy
hub / github.com/PostHog/posthog / capitalizeFirstLetter

Function capitalizeFirstLetter

frontend/src/lib/utils.tsx:232–234  ·  view source on GitHub ↗
(string: string)

Source from the content-addressed store, hash-verified

230}
231
232export function capitalizeFirstLetter(string: string): string {
233 return string.charAt(0).toUpperCase() + string.slice(1)
234}
235
236export const genericOperatorMap: Record<string, string> = {
237 exact: '= equals',

Callers 15

UpgradeModalFunction · 0.90
summarizeInsightFiltersFunction · 0.90
PathsEventTypesFunction · 0.90
FunnelCorrelationTableFunction · 0.90
CorrelationMatrixFunction · 0.90
formatCompareLabelFunction · 0.90
invertDataSourceFunction · 0.90
groupLogic.tsFile · 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…