@grafctory/keep
    Preparing search index...
    • Tagline union for Vendor.tagline: a plain string or a localised text.

      A two-natured property, after the §4.3 modelling of content with or without a localised form: a vendor carries a single untranslated slogan or a set of translations. The string and text variants are told apart by wire form, a plain string matching the string variant and a dictionary the text variant (§3.1). An atomic alternative returns either slogan as a plain string, the localised one as its coalesced label (§3.2). A locale alternative returns only the localised slogans, as dictionaries (§5.5). The text variant admits und entries of its own, which stay text: an undetermined slogan is never read back as a plain string, and is coalesced only under a priority naming und (§6.2).

      Returns UnionShape<
          [
              StringShape<string, undefined>,
              DictionaryConstraints & {
                  kind: "dictionary";
                  content: StringShape<string, undefined>;
              } & { uniqueLang: true },
          ],
      >