Abstract
The FluentType class is the base of Fluent's type system.
FluentType
Fluent types wrap JavaScript values and store additional configuration for them, which can then be used in the toString method together with a proper Intl formatter.
toString
Intl
Create a FluentType instance.
The JavaScript value to wrap.
The wrapped native value.
Format this instance of FluentType to a string.
Formatted values are suitable for use outside of the FluentBundle. This method can use Intl formatters available through the scope argument.
FluentBundle
scope
Unwrap the raw value stored by this FluentType.
The
FluentType
class is the base of Fluent's type system.Fluent types wrap JavaScript values and store additional configuration for them, which can then be used in the
toString
method together with a properIntl
formatter.