MCPcopy Index your code
hub / github.com/fontsource/fontsource / isAcceptedExtension

Function isAcceptedExtension

api/cdn/src/util.ts:21–24  ·  view source on GitHub ↗
(
	extension: string,
)

Source from the content-addressed store, hash-verified

19}
20
21export const isAcceptedExtension = (
22 extension: string,
23): extension is AcceptedExtension =>
24 ACCEPTED_EXTENSIONS.includes(extension as AcceptedExtension);
25
26export const splitTag = async (
27 tag: string,

Callers 1

validateFontFilenameFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected