Preparing search index...

    Function isOcrScanUndoable

    • Whether a scan replaced a filled field, so an Undo must be offered.

      True only when the field was filled before the scan and the scan changed its value. Values are compared structurally, as form values are plain data.

      Parameters

      • field: OcrUndoableField

        The undoable form field

      • before: unknown

        Field value right before the scan wrote its result

      • after: unknown

        Field value right after the scan wrote its result

      Returns boolean

      true when the scan overwrote a filled value