@maschinenlesbar.org/regionalatlas-cli
    Preparing search index...

    Function textProblem

    • Why value cannot be used as a text filter (theme, search, region), or undefined when it can. Refused, before any request, as it would match nothing or everything:

      • a value of another type (Expected a string, got a number.);
      • a value that is blank once trimmed, or holds only invisible characters and combining marks (isBlank): an empty filter reads as "no filter", which answers with the whole list;
      • a lone surrogate (half of a character);
      • a control character (but TAB, LF and CR) or a format character (a zero-width space, a soft hyphen, a bidi control; ZWNJ and ZWJ are allowed): pasted along, it makes the filter match nothing. The reason quotes the value with every invisible character escaped (quoteValue).

      Parameters

      • value: unknown

      Returns string | undefined