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

Function formatMs

benchmarks/run-benchmark.mjs:92–94  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

90}
91
92function formatMs(value) {
93 return typeof value === 'number' ? `${value.toFixed(2)} ms` : 'timeout'
94}
95
96function formatBytes(value) {
97 return typeof value === 'number' ? `${(value / 1024).toFixed(1)} KiB` : '—'

Callers 1

buildMarkdownReportFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected