A utility function that resolves the value of a toast message. The value can either be a static value or a function
that generates the value based on the provided argument.
Example
// Resolving a static value constmessage = resolveToastValue('Hello, World!', toast);
Example
// Resolving a value from a function constmessage = resolveToastValue((ctx) =>`Hello, ${ctx.userName}!`, toast);
A utility function that resolves the value of a toast message. The value can either be a static value or a function that generates the value based on the provided argument.
Example
Example