MCPcopy Create free account
hub / github.com/ReactTooltip/react-tooltip / formatMs

Function formatMs

benchmarks/aggregate-benchmarks.mjs:72–74  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

70}
71
72function formatMs(value) {
73 return typeof value === 'number' ? `${value.toFixed(2)} ms` : '—'
74}
75
76function formatBytes(value) {
77 return typeof value === 'number' ? `${(value / 1024).toFixed(1)} KiB` : '—'

Callers 1

buildMarkdownReportFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected