MessageFormat.resolvedOptions() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Signature:

resolvedOptions(): {
        functions: Readonly<Readonly<MessageFunctions>>;
        localeMatcher: "lookup" | "best fit";
        locales: string[];
        message: Readonly<Message>;
    };

Returns:

{ functions: Readonly<Readonly<MessageFunctions>>; localeMatcher: “lookup” | “best fit”; locales: string[]; message: Readonly<Message>; }