@serenity-is/corelib / localeFormat
Variable: localeFormat()
localeFormat: (
l,format, ...prm) =>string=stringFormatLocale
Defined in: src/compat/formatting-compat.ts:51
Legacy alias for stringFormatLocale.
Locale-specific variant of stringFormat.
Parameters
l
Locale whose settings are applied when formatting each argument.
format
string
Composite format string with {index[:format]} placeholders.
prm
...any[]
Values to substitute. Numbers and Dates are formatted with l; objects with a format method are delegated to that method.
Returns
string
The formatted string.
Deprecated
Use stringFormatLocale directly.