isTextReference function

Module @runic-artifex/views/generated/wire in @runic-artifex/views 0.23.0

function isTextReference(value: unknown): value is TextReference;

Whether a value has the shape of a TextReference, as the Translations readers check it: an integer version of at least 1 (a later one than the page's runtime reads still decodes, and shows its fallback text), string catalog and contractFingerprint, a nonempty key, an arguments object, and a string fallbackText when present, or null in version 1. Its arguments are checked when it is resolved.