MCPcopy
hub / github.com/formatjs/formatjs / format

Function format

packages/intl-numberformat/tests/format_to_parts.test.ts:5–9  ·  view source on GitHub ↗
(...args: Parameters<typeof _formatToParts>)

Source from the content-addressed store, hash-verified

3import Decimal from '@formatjs/bigdecimal'
4
5function format(...args: Parameters<typeof _formatToParts>): string {
6 return _formatToParts(...args)
7 .map(({value}) => value)
8 .join('')
9}
10
11const defaultOptions = {
12 numberingSystem: 'latn',

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected