formatUnicodeRanges
formatUnicodeRanges(ranges: (number | readonly [number, number])[]): string[]
Parameters
ranges: (number | readonly [number, number])[]
Code point ranges to format.
Returns
string[]An array of
U+[...]values. Join these with commas to get the CSS. This is returned as an array so that the commas and values can be syntax-highlighted separately.
Format Unicode code point ranges into the format used for the CSS
unicode-rangeproperty.