Skip to content

hm5-types (source format) / fontFamilyOf

Function: fontFamilyOf() ​

ts
function fontFamilyOf(a): string;

a font asset's CSS family: family, else the Library name sans extension

Parameters ​

ParameterType
aPick<AssetMeta, "family" | "name" | "file">

Returns ​

string

HereSplash — 2D animation for the web