generated from tc39/template-for-proposals
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Especially if this list changes over time, but also regardless, i think there should be a way to list all of the supported units.
Ideally i think it’d be a function that produces a Map for cheap lookups (keys are a supported unit, values are an array of other units that it can convert to/from), but I’m sure there’s lots of ways to design it.
(It also occurred to me that a predicate “can convert between” might be useful, but you get that for free with the above data structure)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels