Function: parseFontSrcEntries()
function parseFontSrcEntries(value: string): readonly Readonly<{
hasFormatHint: boolean;
isDataUri: boolean;
isLocal: boolean;
isUrl: boolean;
normalizedFormat: string | undefined;
normalizedUrl: string | undefined;
raw: string;
url: string | undefined;
}>[];
Defined in: _internal/font-analysis.ts:203
Parse one @font-face src declaration value into structured entries.
Parametersโ
valueโ
string
Returnsโ
readonly Readonly<{
hasFormatHint: boolean;
isDataUri: boolean;
isLocal: boolean;
isUrl: boolean;
normalizedFormat: string | undefined;
normalizedUrl: string | undefined;
raw: string;
url: string | undefined;
}>[]