@serenity-is/corelib / localeFormat

Variable: localeFormat()

localeFormat: (l, format, ...prm) => string = stringFormatLocale

Defined in: src/compat/formatting-compat.ts:32

Formats a string with parameters similar to .NET's String.Format function using the locale passed as the first argument.

Parameters

l

Locale

format

string

prm

...any[]

Returns

string

Deprecated

Use stringFormatLocale