Israeli Bank Importer - v1.44.5
    Preparing search index...

    Function coerceAccounts

    • Coerces a raw accounts value (the UI sends a string) into the importer's string[] | 'all' shape: the 'all' sentinel, or a comma/space-separated list split into trimmed account numbers. Empty input falls back to 'all'.

      Parameters

      • value: unknown

        Raw accounts value from the UI (string or already-typed).

      Returns string[] | "all"

      The normalized accounts value.