# ParsedResult

The ParsedResult interface provides a structure representing the result object returned by Dynamsoft Code Parser.

```ts
interface ParsedResult {
  parsedResultItems: Array<ParsedResultItem>;
  hasItem: (item: ParsedResultItem) => boolean;
  removeItem: (item: ParsedResultItem) => void;
}
```

<!-- | API Name                                    | Description                                                 |
| ------------------------------------------- | ----------------------------------------------------------- |
| [originalImageHashId](#originalimagehashid) | Returns the hash id of the original image.                  |
| [originalImageTag](#originalimagetag)       | Returns the tag of the original image.                      |
| [parsedResultItems](#parsedresultitems)     | Returns an array that contains all `ParsedResultItem`s.     |
| [hasItem()](#hasitem)                       | Checks whether the specified `ParsedResultItem` exists.     |
| [removeItem()](#removeitem)                 | Removes the specified `ParsedResultItem`.                   |
| [errorCode](#errorcode)                     | Returns the error code for the parsing operation.           |
| [errorString](#errorstring)                 | Returns the error string that corresponds with `errorCode`. | -->

## parsedResultItems

Returns an array that contains all `ParsedResultItem`s.

## hasItem()

Checks whether the specified `ParsedResultItem` exists.

## removeItem()

Removes the specified `ParsedResultItem`.