formatVariantNameError
Why `id` cannot be a format-variant name, or `null` when it can.
Why id cannot be a format-variant name, or null when it can. One
judgment shared by the manifest parse (which refuses the template) and
{@link compileFormatVariantsToCss} (which refuses to emit).
Import from @homepages/template-kit.
Signature
Section titled “Signature”function formatVariantNameError(id: string): string | nullParameters
Section titled “Parameters”| Name | Type | Required | Description |
|---|---|---|---|
id |
string |
required |
Returns
Section titled “Returns”string | null