format()
Returns a new instance, with messages formatted using the provided arguments.
format(...args: any[]): MessageDialogOptions;
Notes
- This method can only format strings that are instances of DeferredString, i.e. the result of the fmt() function.
Related
class MessageDialogOptions
A representation of the contents of an alert or confirm dialog.function fmt()
Returns a (lazily) formatted string incorporating the provided values.
