presetGeometryMatches
Whether a format's `preset` provenance tag is truthful.
Whether a format’s preset provenance tag is truthful. Untagged formats
pass; a tagged one passes only when its geometry — width, height, dpi,
bleed — exactly matches the library entry the tag names. Identity fields are
NOT compared: re-labeling or re-categorizing a preset keeps the tag, because
the category is browsing metadata, not geometry.
Import from @homepages/template-kit.
Signature
Section titled “Signature”function presetGeometryMatches(format: ImageFormat | DocumentFormat): booleanParameters
Section titled “Parameters”| Name | Type | Required | Description |
|---|---|---|---|
format |
ImageFormat | DocumentFormat |
required |
Returns
Section titled “Returns”boolean