MCPcopy Create free account
hub / github.com/NathanPB/progress.js / current

Function current

src/token.ts:44–45  ·  view source on GitHub ↗
(options: NumberFormat = {})

Source from the content-addressed store, hash-verified

42 formatNumber(bar.progress() * 100, options)
43
44export const current = (options: NumberFormat = {}):Token => bar =>
45 formatNumber(bar.current, options)
46
47export const total = (options: NumberFormat = {}):Token => bar =>
48 formatNumber(bar.total, options)

Callers

nothing calls this directly

Calls 1

formatNumberFunction · 0.90

Tested by

no test coverage detected