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

Function isAbsoluteURL

packages/cli/src/google/download.ts:45–47  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

43type Variant = StaticVariant | VariableVariant;
44
45const isAbsoluteURL = (url: string): boolean => {
46 return /^https?:\/\//.test(url);
47};
48
49const getStaticVariantList = (
50 variants: FontVariants,

Callers 2

getStaticVariantListFunction · 0.85
getVariableVariantListFunction · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected