View as Markdown

API reference: @salmonui/data-grid/engine/locale

createFormatterfunction

import { createFormatter } from '@salmonui/data-grid/engine/locale';
function createFormatter(options?: FormatterOptions): Formatter;

A formatter for one locale; compiled formats and Intl objects are cached on the instance.