@maschinenlesbar.org/fim-portal-cli
    Preparing search index...

    Function tokenProblem

    • Why value cannot be sent as a token, or undefined when it can. A token is a value the portal compares exactly: a path id, a code (nummernkreis, leistungsschluessel, ozg_id), a date, an enum value or a sort key. The rules apply to the value with surrounding whitespace trimmed, as it is sent (normalizeToken): not blank (and not only invisible characters or combining marks), no lone surrogate, and no control or format character at all (a zero-width space, ZWJ, a soft hyphen, a bidi control), since an invisible character in an id or a code only ever makes it match nothing. The reason quotes the value visibly. Enums and sort keys are then checked against their values (oneOfProblem).

      Parameters

      • value: string

      Returns string | undefined