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

Function licenseShort

packages/cli/src/utils.ts:65–66  ·  view source on GitHub ↗
(license: string)

Source from the content-addressed store, hash-verified

63};
64
65export const licenseShort = (license: string): string | undefined =>
66 licenseMap[license.toLowerCase() as keyof typeof licenseMap];
67
68// `assertNever` will result in a type error at compile time, or an exception at runtime,
69// if the passed in value is not of type `never`. Useful for exhaustiveness checking.

Callers 2

createFunction · 0.90
buildFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected