Skip to main content

Function: parseFontSrcEntries()

parseFontSrcEntries(value): 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:202

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; }>[]