I have extended the Esri Draw Widget to work with more spatial references than just Web Mercator and Geographic (4326). To do this, I needed to determine the units of any projected coordinate system. It doesn't seem like a huge task, but the only way I could figure out how to do this was to use the toMeterFactor property of SpatialReference. This requires the use of esri_internal, which I really hate to do. Is there another way to determine the units of a spatial reference? If not, can Esri make the toMeterFactor public? It works great.