Function: parseFontFamilyList()
ts
function parseFontFamilyList(family): string[];Experimental
Split a CSS font family list into unquoted names, e.g. '"Open Sans", arial' → ['Open Sans', 'arial']. Commas inside quoted names are not supported (none of the common font names contain them).
Parameters
| Parameter | Type |
|---|---|
family | string |
Returns
string[]