Module pretty

Source

Enums§

NumericSuffix

Functions§

format_number_literal
For UI code generation, format a number with a suffix. The result must parse as a literal. If it can’t be done, returns an error.
format_number_value
For UI code generation, format a number value with a suffix such that the result can parse as a literal. If it can’t be done, returns an error.
human_display_number
For the UI, display a number and its type for debugging purposes. This is used by TS.