FormatsMap Interface
A data structure that associates specific phenomenon with one or more formatting props for specific unit system.
Example:
{
length: [{
unitSystems: ["metric"],
format: formatForCentimeters,
}, {
unitSystems: ["imperial", "usCustomary"],
format: formatForInches,
}, {
unitSystems: ["usSurvey"],
format: formatForUsSurveyInches,
}]
}
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.